Documentation ¶
Index ¶
- type Args
- type Egress
- type EgressAttributes
- func (e EgressAttributes) Action() terra.StringValue
- func (e EgressAttributes) CidrBlock() terra.StringValue
- func (e EgressAttributes) FromPort() terra.NumberValue
- func (e EgressAttributes) IcmpCode() terra.NumberValue
- func (e EgressAttributes) IcmpType() 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) Ipv6CidrBlock() terra.StringValue
- func (e EgressAttributes) Protocol() terra.StringValue
- func (e EgressAttributes) RuleNo() terra.NumberValue
- func (e EgressAttributes) ToPort() terra.NumberValue
- type EgressState
- type Ingress
- type IngressAttributes
- func (i IngressAttributes) Action() terra.StringValue
- func (i IngressAttributes) CidrBlock() terra.StringValue
- func (i IngressAttributes) FromPort() terra.NumberValue
- func (i IngressAttributes) IcmpCode() terra.NumberValue
- func (i IngressAttributes) IcmpType() 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) Ipv6CidrBlock() terra.StringValue
- func (i IngressAttributes) Protocol() terra.StringValue
- func (i IngressAttributes) RuleNo() terra.NumberValue
- func (i IngressAttributes) ToPort() terra.NumberValue
- type IngressState
- type Resource
- func (ana *Resource) Attributes() awsNetworkAclAttributes
- func (ana *Resource) Configuration() interface{}
- func (ana *Resource) DependOn() terra.Reference
- func (ana *Resource) Dependencies() terra.Dependencies
- func (ana *Resource) ImportState(state io.Reader) error
- func (ana *Resource) LifecycleManagement() *terra.Lifecycle
- func (ana *Resource) LocalName() string
- func (ana *Resource) State() (*awsNetworkAclState, bool)
- func (ana *Resource) StateMust() *awsNetworkAclState
- func (ana *Resource) Type() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct { // Id: string, optional Id terra.StringValue `hcl:"id,attr"` // SubnetIds: set of string, optional SubnetIds terra.SetValue[terra.StringValue] `hcl:"subnet_ids,attr"` // Tags: map of string, optional Tags terra.MapValue[terra.StringValue] `hcl:"tags,attr"` // TagsAll: map of string, optional TagsAll terra.MapValue[terra.StringValue] `hcl:"tags_all,attr"` // VpcId: string, required VpcId terra.StringValue `hcl:"vpc_id,attr" validate:"required"` // Egress: min=0 Egress []Egress `hcl:"egress,block" validate:"min=0"` // Ingress: min=0 Ingress []Ingress `hcl:"ingress,block" validate:"min=0"` }
Args contains the configurations for aws_network_acl.
type Egress ¶
type Egress struct { // Action: string, optional Action terra.StringValue `hcl:"action,attr"` // CidrBlock: string, optional CidrBlock terra.StringValue `hcl:"cidr_block,attr"` // FromPort: number, optional FromPort terra.NumberValue `hcl:"from_port,attr"` // IcmpCode: number, optional IcmpCode terra.NumberValue `hcl:"icmp_code,attr"` // IcmpType: number, optional IcmpType terra.NumberValue `hcl:"icmp_type,attr"` // Ipv6CidrBlock: string, optional Ipv6CidrBlock terra.StringValue `hcl:"ipv6_cidr_block,attr"` // Protocol: string, optional Protocol terra.StringValue `hcl:"protocol,attr"` // RuleNo: number, optional RuleNo terra.NumberValue `hcl:"rule_no,attr"` // ToPort: number, optional ToPort terra.NumberValue `hcl:"to_port,attr"` }
type EgressAttributes ¶
type EgressAttributes struct {
// contains filtered or unexported fields
}
func (EgressAttributes) Action ¶
func (e EgressAttributes) Action() terra.StringValue
func (EgressAttributes) CidrBlock ¶
func (e EgressAttributes) CidrBlock() terra.StringValue
func (EgressAttributes) FromPort ¶
func (e EgressAttributes) FromPort() terra.NumberValue
func (EgressAttributes) IcmpCode ¶
func (e EgressAttributes) IcmpCode() terra.NumberValue
func (EgressAttributes) IcmpType ¶
func (e EgressAttributes) IcmpType() terra.NumberValue
func (EgressAttributes) InternalRef ¶
func (e EgressAttributes) InternalRef() (terra.Reference, error)
func (EgressAttributes) InternalTokens ¶
func (e EgressAttributes) InternalTokens() (hclwrite.Tokens, error)
func (EgressAttributes) InternalWithRef ¶
func (e EgressAttributes) InternalWithRef(ref terra.Reference) EgressAttributes
func (EgressAttributes) Ipv6CidrBlock ¶
func (e EgressAttributes) Ipv6CidrBlock() terra.StringValue
func (EgressAttributes) Protocol ¶
func (e EgressAttributes) Protocol() terra.StringValue
func (EgressAttributes) RuleNo ¶
func (e EgressAttributes) RuleNo() terra.NumberValue
func (EgressAttributes) ToPort ¶
func (e EgressAttributes) ToPort() terra.NumberValue
type EgressState ¶
type EgressState struct { Action string `json:"action"` CidrBlock string `json:"cidr_block"` FromPort float64 `json:"from_port"` IcmpCode float64 `json:"icmp_code"` IcmpType float64 `json:"icmp_type"` Ipv6CidrBlock string `json:"ipv6_cidr_block"` Protocol string `json:"protocol"` RuleNo float64 `json:"rule_no"` ToPort float64 `json:"to_port"` }
type Ingress ¶
type Ingress struct { // Action: string, optional Action terra.StringValue `hcl:"action,attr"` // CidrBlock: string, optional CidrBlock terra.StringValue `hcl:"cidr_block,attr"` // FromPort: number, optional FromPort terra.NumberValue `hcl:"from_port,attr"` // IcmpCode: number, optional IcmpCode terra.NumberValue `hcl:"icmp_code,attr"` // IcmpType: number, optional IcmpType terra.NumberValue `hcl:"icmp_type,attr"` // Ipv6CidrBlock: string, optional Ipv6CidrBlock terra.StringValue `hcl:"ipv6_cidr_block,attr"` // Protocol: string, optional Protocol terra.StringValue `hcl:"protocol,attr"` // RuleNo: number, optional RuleNo terra.NumberValue `hcl:"rule_no,attr"` // ToPort: number, optional ToPort terra.NumberValue `hcl:"to_port,attr"` }
type IngressAttributes ¶
type IngressAttributes struct {
// contains filtered or unexported fields
}
func (IngressAttributes) Action ¶
func (i IngressAttributes) Action() terra.StringValue
func (IngressAttributes) CidrBlock ¶
func (i IngressAttributes) CidrBlock() terra.StringValue
func (IngressAttributes) FromPort ¶
func (i IngressAttributes) FromPort() terra.NumberValue
func (IngressAttributes) IcmpCode ¶
func (i IngressAttributes) IcmpCode() terra.NumberValue
func (IngressAttributes) IcmpType ¶
func (i IngressAttributes) IcmpType() terra.NumberValue
func (IngressAttributes) InternalRef ¶
func (i IngressAttributes) InternalRef() (terra.Reference, error)
func (IngressAttributes) InternalTokens ¶
func (i IngressAttributes) InternalTokens() (hclwrite.Tokens, error)
func (IngressAttributes) InternalWithRef ¶
func (i IngressAttributes) InternalWithRef(ref terra.Reference) IngressAttributes
func (IngressAttributes) Ipv6CidrBlock ¶
func (i IngressAttributes) Ipv6CidrBlock() terra.StringValue
func (IngressAttributes) Protocol ¶
func (i IngressAttributes) Protocol() terra.StringValue
func (IngressAttributes) RuleNo ¶
func (i IngressAttributes) RuleNo() terra.NumberValue
func (IngressAttributes) ToPort ¶
func (i IngressAttributes) ToPort() terra.NumberValue
type IngressState ¶
type IngressState struct { Action string `json:"action"` CidrBlock string `json:"cidr_block"` FromPort float64 `json:"from_port"` IcmpCode float64 `json:"icmp_code"` IcmpType float64 `json:"icmp_type"` Ipv6CidrBlock string `json:"ipv6_cidr_block"` Protocol string `json:"protocol"` RuleNo float64 `json:"rule_no"` ToPort float64 `json:"to_port"` }
type Resource ¶
type Resource struct { Name string Args Args DependsOn terra.Dependencies Lifecycle *terra.Lifecycle // contains filtered or unexported fields }
Resource represents the Terraform resource aws_network_acl.
func (*Resource) Attributes ¶
func (ana *Resource) Attributes() awsNetworkAclAttributes
Attributes returns the attributes for Resource.
func (*Resource) Configuration ¶
func (ana *Resource) Configuration() interface{}
Configuration returns the configuration (args) for Resource.
func (*Resource) Dependencies ¶
func (ana *Resource) Dependencies() terra.Dependencies
Dependencies returns the list of resources Resource depends_on.
func (*Resource) ImportState ¶
ImportState imports the given attribute values into Resource's state.
func (*Resource) LifecycleManagement ¶
LifecycleManagement returns the lifecycle block for Resource.
Click to show internal directories.
Click to hide internal directories.