Versions in this module Expand all Collapse all v5 v5.45.0 Apr 16, 2024 Changes in this version + type Args struct + Description terra.StringValue + Egress []Egress + Id terra.StringValue + Ingress []Ingress + Name terra.StringValue + NamePrefix terra.StringValue + RevokeRulesOnDelete terra.BoolValue + Tags terra.MapValue[terra.StringValue] + TagsAll terra.MapValue[terra.StringValue] + Timeouts *Timeouts + VpcId terra.StringValue + type DataArgs struct + Filter []DataFilter + Id terra.StringValue + Name terra.StringValue + Tags terra.MapValue[terra.StringValue] + Timeouts *DataTimeouts + VpcId terra.StringValue + type DataFilter struct + Name terra.StringValue + Values terra.SetValue[terra.StringValue] + type DataFilterAttributes struct + func (f DataFilterAttributes) InternalRef() (terra.Reference, error) + func (f DataFilterAttributes) InternalTokens() (hclwrite.Tokens, error) + func (f DataFilterAttributes) InternalWithRef(ref terra.Reference) DataFilterAttributes + func (f DataFilterAttributes) Name() terra.StringValue + func (f DataFilterAttributes) Values() terra.SetValue[terra.StringValue] + type DataFilterState struct + Name string + Values []string + type DataSource struct + Args DataArgs + Name string + func Data(name string, args DataArgs) *DataSource + func (asg *DataSource) Attributes() dataAwsSecurityGroupAttributes + func (asg *DataSource) Configuration() interface{} + func (asg *DataSource) DataSource() string + func (asg *DataSource) LocalName() string + type DataTimeouts struct + Read terra.StringValue + type DataTimeoutsAttributes struct + func (t DataTimeoutsAttributes) InternalRef() (terra.Reference, error) + func (t DataTimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error) + func (t DataTimeoutsAttributes) InternalWithRef(ref terra.Reference) DataTimeoutsAttributes + func (t DataTimeoutsAttributes) Read() terra.StringValue + type DataTimeoutsState struct + Read string + type Egress struct + CidrBlocks terra.ListValue[terra.StringValue] + Description terra.StringValue + FromPort terra.NumberValue + Ipv6CidrBlocks terra.ListValue[terra.StringValue] + PrefixListIds terra.ListValue[terra.StringValue] + Protocol terra.StringValue + SecurityGroups terra.SetValue[terra.StringValue] + Self terra.BoolValue + ToPort terra.NumberValue + type EgressAttributes struct + func (e EgressAttributes) CidrBlocks() terra.ListValue[terra.StringValue] + func (e EgressAttributes) Description() terra.StringValue + func (e EgressAttributes) FromPort() terra.NumberValue + func (e EgressAttributes) InternalRef() (terra.Reference, error) + func (e EgressAttributes) InternalTokens() (hclwrite.Tokens, error) + func (e EgressAttributes) InternalWithRef(ref terra.Reference) EgressAttributes + func (e EgressAttributes) Ipv6CidrBlocks() terra.ListValue[terra.StringValue] + func (e EgressAttributes) PrefixListIds() terra.ListValue[terra.StringValue] + func (e EgressAttributes) Protocol() terra.StringValue + func (e EgressAttributes) SecurityGroups() terra.SetValue[terra.StringValue] + func (e EgressAttributes) Self() terra.BoolValue + func (e EgressAttributes) ToPort() terra.NumberValue + type EgressState struct + CidrBlocks []string + Description string + FromPort float64 + Ipv6CidrBlocks []string + PrefixListIds []string + Protocol string + SecurityGroups []string + Self bool + ToPort float64 + type Ingress struct + CidrBlocks terra.ListValue[terra.StringValue] + Description terra.StringValue + FromPort terra.NumberValue + Ipv6CidrBlocks terra.ListValue[terra.StringValue] + PrefixListIds terra.ListValue[terra.StringValue] + Protocol terra.StringValue + SecurityGroups terra.SetValue[terra.StringValue] + Self terra.BoolValue + ToPort terra.NumberValue + type IngressAttributes struct + func (i IngressAttributes) CidrBlocks() terra.ListValue[terra.StringValue] + func (i IngressAttributes) Description() terra.StringValue + func (i IngressAttributes) FromPort() terra.NumberValue + func (i IngressAttributes) InternalRef() (terra.Reference, error) + func (i IngressAttributes) InternalTokens() (hclwrite.Tokens, error) + func (i IngressAttributes) InternalWithRef(ref terra.Reference) IngressAttributes + func (i IngressAttributes) Ipv6CidrBlocks() terra.ListValue[terra.StringValue] + func (i IngressAttributes) PrefixListIds() terra.ListValue[terra.StringValue] + func (i IngressAttributes) Protocol() terra.StringValue + func (i IngressAttributes) SecurityGroups() terra.SetValue[terra.StringValue] + func (i IngressAttributes) Self() terra.BoolValue + func (i IngressAttributes) ToPort() terra.NumberValue + type IngressState struct + CidrBlocks []string + Description string + FromPort float64 + Ipv6CidrBlocks []string + PrefixListIds []string + Protocol string + SecurityGroups []string + Self bool + ToPort float64 + type Resource struct + Args Args + DependsOn terra.Dependencies + Lifecycle *terra.Lifecycle + Name string + func New(name string, args Args) *Resource + func (asg *Resource) Attributes() awsSecurityGroupAttributes + func (asg *Resource) Configuration() interface{} + func (asg *Resource) DependOn() terra.Reference + func (asg *Resource) Dependencies() terra.Dependencies + func (asg *Resource) ImportState(state io.Reader) error + func (asg *Resource) LifecycleManagement() *terra.Lifecycle + func (asg *Resource) LocalName() string + func (asg *Resource) State() (*awsSecurityGroupState, bool) + func (asg *Resource) StateMust() *awsSecurityGroupState + func (asg *Resource) Type() string + type Timeouts struct + Create terra.StringValue + Delete terra.StringValue + type TimeoutsAttributes struct + func (t TimeoutsAttributes) Create() terra.StringValue + func (t TimeoutsAttributes) Delete() terra.StringValue + func (t TimeoutsAttributes) InternalRef() (terra.Reference, error) + func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error) + func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes + type TimeoutsState struct + Create string + Delete string