AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

NetworkAcl

import "github.com/aws/aws-sdk-go/service/ec2"

type NetworkAcl struct { Associations []*NetworkAclAssociation `locationName:"associationSet" locationNameList:"item" type:"list"` Entries []*NetworkAclEntry `locationName:"entrySet" locationNameList:"item" type:"list"` IsDefault *bool `locationName:"default" type:"boolean"` NetworkAclId *string `locationName:"networkAclId" type:"string"` OwnerId *string `locationName:"ownerId" type:"string"` Tags []*Tag `locationName:"tagSet" locationNameList:"item" type:"list"` VpcId *string `locationName:"vpcId" type:"string"` }

Describes a network ACL.

Associations

Describes an association between a network ACL and a subnet.

Entries

Describes an entry in a network ACL.

IsDefault

Type: *bool

Indicates whether this is the default network ACL for the VPC.

NetworkAclId

Type: *string

The ID of the network ACL.

OwnerId

Type: *string

The ID of the AWS account that owns the network ACL.

Tags

Describes a tag.

VpcId

Type: *string

The ID of the VPC for the network ACL.

Method

GoString

func (s NetworkAcl) GoString() string

GoString returns the string representation

SetAssociations

func (s *NetworkAcl) SetAssociations(v []*NetworkAclAssociation) *NetworkAcl

SetAssociations sets the Associations field's value.

SetEntries

func (s *NetworkAcl) SetEntries(v []*NetworkAclEntry) *NetworkAcl

SetEntries sets the Entries field's value.

SetIsDefault

func (s *NetworkAcl) SetIsDefault(v bool) *NetworkAcl

SetIsDefault sets the IsDefault field's value.

SetNetworkAclId

func (s *NetworkAcl) SetNetworkAclId(v string) *NetworkAcl

SetNetworkAclId sets the NetworkAclId field's value.

SetOwnerId

func (s *NetworkAcl) SetOwnerId(v string) *NetworkAcl

SetOwnerId sets the OwnerId field's value.

SetTags

func (s *NetworkAcl) SetTags(v []*Tag) *NetworkAcl

SetTags sets the Tags field's value.

SetVpcId

func (s *NetworkAcl) SetVpcId(v string) *NetworkAcl

SetVpcId sets the VpcId field's value.

String

func (s NetworkAcl) String() string

String returns the string representation

On this page: