networkacl

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion added in v0.0.2

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type Acl

type Acl struct {
	pulumi.CustomResourceState

	// Specifies the supplementary information about the network ACL. This parameter can
	// contain a maximum of 255 characters and cannot contain angle brackets (< or >).
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The ID of the ingress firewall policy for the network ACL.
	InboundPolicyId pulumi.StringOutput `pulumi:"inboundPolicyId"`
	// A list of the IDs of ingress rules associated with the network ACL.
	InboundRules pulumi.StringArrayOutput `pulumi:"inboundRules"`
	// Specifies the network ACL name. This parameter can contain a maximum of 64 characters,
	// which may consist of letters, digits, underscores (_), and hyphens (-).
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the egress firewall policy for the network ACL.
	OutboundPolicyId pulumi.StringOutput `pulumi:"outboundPolicyId"`
	// A list of the IDs of egress rules associated with the network ACL.
	OutboundRules pulumi.StringArrayOutput `pulumi:"outboundRules"`
	// A list of the port IDs of the subnet gateway.
	Ports pulumi.StringArrayOutput `pulumi:"ports"`
	// The region in which to create the network acl resource. If omitted, the
	// provider-level region will be used. Changing this creates a new network acl resource.
	Region pulumi.StringOutput `pulumi:"region"`
	// The status of the network ACL.
	Status pulumi.StringOutput `pulumi:"status"`
	// A list of the IDs of networks associated with the network ACL.
	Subnets pulumi.StringArrayOutput `pulumi:"subnets"`
}

Manages a network ACL resource within HuaweiCloud.

## Example Usage

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/NetworkAcl"
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Vpc"
"github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/Vpc"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		subnet, err := Vpc.GetSubnet(ctx, &vpc.GetSubnetArgs{
			Name: pulumi.StringRef("subnet-default"),
		}, nil)
		if err != nil {
			return err
		}
		rule1, err := NetworkAcl.NewAclRule(ctx, "rule1", &NetworkAcl.AclRuleArgs{
			Description:     pulumi.String("drop TELNET traffic"),
			Action:          pulumi.String("deny"),
			Protocol:        pulumi.String("tcp"),
			DestinationPort: pulumi.String("23"),
			Enabled:         pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		rule2, err := NetworkAcl.NewAclRule(ctx, "rule2", &NetworkAcl.AclRuleArgs{
			Description:     pulumi.String("drop NTP traffic"),
			Action:          pulumi.String("deny"),
			Protocol:        pulumi.String("udp"),
			DestinationPort: pulumi.String("123"),
			Enabled:         pulumi.Bool(false),
		})
		if err != nil {
			return err
		}
		_, err = NetworkAcl.NewAcl(ctx, "fwAcl", &NetworkAcl.AclArgs{
			Subnets: pulumi.StringArray{
				pulumi.String(subnet.Id),
			},
			InboundRules: pulumi.StringArray{
				rule1.ID(),
				rule2.ID(),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetAcl

func GetAcl(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AclState, opts ...pulumi.ResourceOption) (*Acl, error)

GetAcl gets an existing Acl resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAcl

func NewAcl(ctx *pulumi.Context,
	name string, args *AclArgs, opts ...pulumi.ResourceOption) (*Acl, error)

NewAcl registers a new resource with the given unique name, arguments, and options.

func (*Acl) ElementType

func (*Acl) ElementType() reflect.Type

func (*Acl) ToAclOutput

func (i *Acl) ToAclOutput() AclOutput

func (*Acl) ToAclOutputWithContext

func (i *Acl) ToAclOutputWithContext(ctx context.Context) AclOutput

type AclArgs

type AclArgs struct {
	// Specifies the supplementary information about the network ACL. This parameter can
	// contain a maximum of 255 characters and cannot contain angle brackets (< or >).
	Description pulumi.StringPtrInput
	// A list of the IDs of ingress rules associated with the network ACL.
	InboundRules pulumi.StringArrayInput
	// Specifies the network ACL name. This parameter can contain a maximum of 64 characters,
	// which may consist of letters, digits, underscores (_), and hyphens (-).
	Name pulumi.StringPtrInput
	// A list of the IDs of egress rules associated with the network ACL.
	OutboundRules pulumi.StringArrayInput
	// The region in which to create the network acl resource. If omitted, the
	// provider-level region will be used. Changing this creates a new network acl resource.
	Region pulumi.StringPtrInput
	// A list of the IDs of networks associated with the network ACL.
	Subnets pulumi.StringArrayInput
}

The set of arguments for constructing a Acl resource.

func (AclArgs) ElementType

func (AclArgs) ElementType() reflect.Type

type AclArray

type AclArray []AclInput

func (AclArray) ElementType

func (AclArray) ElementType() reflect.Type

func (AclArray) ToAclArrayOutput

func (i AclArray) ToAclArrayOutput() AclArrayOutput

func (AclArray) ToAclArrayOutputWithContext

func (i AclArray) ToAclArrayOutputWithContext(ctx context.Context) AclArrayOutput

type AclArrayInput

type AclArrayInput interface {
	pulumi.Input

	ToAclArrayOutput() AclArrayOutput
	ToAclArrayOutputWithContext(context.Context) AclArrayOutput
}

AclArrayInput is an input type that accepts AclArray and AclArrayOutput values. You can construct a concrete instance of `AclArrayInput` via:

AclArray{ AclArgs{...} }

type AclArrayOutput

type AclArrayOutput struct{ *pulumi.OutputState }

func (AclArrayOutput) ElementType

func (AclArrayOutput) ElementType() reflect.Type

func (AclArrayOutput) Index

func (AclArrayOutput) ToAclArrayOutput

func (o AclArrayOutput) ToAclArrayOutput() AclArrayOutput

func (AclArrayOutput) ToAclArrayOutputWithContext

func (o AclArrayOutput) ToAclArrayOutputWithContext(ctx context.Context) AclArrayOutput

type AclInput

type AclInput interface {
	pulumi.Input

	ToAclOutput() AclOutput
	ToAclOutputWithContext(ctx context.Context) AclOutput
}

type AclMap

type AclMap map[string]AclInput

func (AclMap) ElementType

func (AclMap) ElementType() reflect.Type

func (AclMap) ToAclMapOutput

func (i AclMap) ToAclMapOutput() AclMapOutput

func (AclMap) ToAclMapOutputWithContext

func (i AclMap) ToAclMapOutputWithContext(ctx context.Context) AclMapOutput

type AclMapInput

type AclMapInput interface {
	pulumi.Input

	ToAclMapOutput() AclMapOutput
	ToAclMapOutputWithContext(context.Context) AclMapOutput
}

AclMapInput is an input type that accepts AclMap and AclMapOutput values. You can construct a concrete instance of `AclMapInput` via:

AclMap{ "key": AclArgs{...} }

type AclMapOutput

type AclMapOutput struct{ *pulumi.OutputState }

func (AclMapOutput) ElementType

func (AclMapOutput) ElementType() reflect.Type

func (AclMapOutput) MapIndex

func (o AclMapOutput) MapIndex(k pulumi.StringInput) AclOutput

func (AclMapOutput) ToAclMapOutput

func (o AclMapOutput) ToAclMapOutput() AclMapOutput

func (AclMapOutput) ToAclMapOutputWithContext

func (o AclMapOutput) ToAclMapOutputWithContext(ctx context.Context) AclMapOutput

type AclOutput

type AclOutput struct{ *pulumi.OutputState }

func (AclOutput) Description

func (o AclOutput) Description() pulumi.StringPtrOutput

Specifies the supplementary information about the network ACL. This parameter can contain a maximum of 255 characters and cannot contain angle brackets (< or >).

func (AclOutput) ElementType

func (AclOutput) ElementType() reflect.Type

func (AclOutput) InboundPolicyId

func (o AclOutput) InboundPolicyId() pulumi.StringOutput

The ID of the ingress firewall policy for the network ACL.

func (AclOutput) InboundRules

func (o AclOutput) InboundRules() pulumi.StringArrayOutput

A list of the IDs of ingress rules associated with the network ACL.

func (AclOutput) Name

func (o AclOutput) Name() pulumi.StringOutput

Specifies the network ACL name. This parameter can contain a maximum of 64 characters, which may consist of letters, digits, underscores (_), and hyphens (-).

func (AclOutput) OutboundPolicyId

func (o AclOutput) OutboundPolicyId() pulumi.StringOutput

The ID of the egress firewall policy for the network ACL.

func (AclOutput) OutboundRules

func (o AclOutput) OutboundRules() pulumi.StringArrayOutput

A list of the IDs of egress rules associated with the network ACL.

func (AclOutput) Ports

A list of the port IDs of the subnet gateway.

func (AclOutput) Region

func (o AclOutput) Region() pulumi.StringOutput

The region in which to create the network acl resource. If omitted, the provider-level region will be used. Changing this creates a new network acl resource.

func (AclOutput) Status

func (o AclOutput) Status() pulumi.StringOutput

The status of the network ACL.

func (AclOutput) Subnets

func (o AclOutput) Subnets() pulumi.StringArrayOutput

A list of the IDs of networks associated with the network ACL.

func (AclOutput) ToAclOutput

func (o AclOutput) ToAclOutput() AclOutput

func (AclOutput) ToAclOutputWithContext

func (o AclOutput) ToAclOutputWithContext(ctx context.Context) AclOutput

type AclRule

type AclRule struct {
	pulumi.CustomResourceState

	// Specifies the action in the network ACL rule. Currently, the value can be *allow* or
	// *deny*.
	Action pulumi.StringOutput `pulumi:"action"`
	// Specifies the description for the network ACL rule.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// Specifies the destination IP address to which the traffic is allowed.
	// The default value is *0.0.0.0/0*. For example: xxx.xxx.xxx.xxx (IP address), xxx.xxx.xxx.0/24 (CIDR block).
	DestinationIpAddress pulumi.StringPtrOutput `pulumi:"destinationIpAddress"`
	// Specifies the destination port number or port number range. The value ranges
	// from 1 to 65535. For a port number range, enter two port numbers connected by a colon(:). For example, 1:100.
	DestinationPort pulumi.StringPtrOutput `pulumi:"destinationPort"`
	// Enabled status for the network ACL rule. Defaults to true.
	Enabled pulumi.BoolPtrOutput `pulumi:"enabled"`
	// Specifies the IP version, either 4 (default) or 6. This parameter is available after
	// the IPv6 function is enabled.
	IpVersion pulumi.IntPtrOutput `pulumi:"ipVersion"`
	// Specifies a unique name for the network ACL rule.
	Name pulumi.StringOutput `pulumi:"name"`
	// Specifies the protocol supported by the network ACL rule. Valid values are: *tcp*,
	// *udp*, *icmp* and *any*.
	Protocol pulumi.StringOutput `pulumi:"protocol"`
	// The region in which to create the network ACL rule resource. If omitted, the
	// provider-level region will be used. Changing this creates a new network ACL rule resource.
	Region pulumi.StringOutput `pulumi:"region"`
	// Specifies the source IP address that the traffic is allowed from. The default
	// value is *0.0.0.0/0*. For example: xxx.xxx.xxx.xxx (IP address), xxx.xxx.xxx.0/24 (CIDR block).
	SourceIpAddress pulumi.StringPtrOutput `pulumi:"sourceIpAddress"`
	// Specifies the source port number or port number range. The value ranges from 1 to
	// 65535. For a port number range, enter two port numbers connected by a colon(:). For example, 1:100.
	SourcePort pulumi.StringPtrOutput `pulumi:"sourcePort"`
}

Manages a network ACL rule resource within HuaweiCloud.

## Example Usage

```go package main

import (

"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/NetworkAcl"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := NetworkAcl.NewAclRule(ctx, "rule1", &NetworkAcl.AclRuleArgs{
			Action:               pulumi.String("deny"),
			DestinationIpAddress: pulumi.String("4.3.2.0/24"),
			DestinationPort:      pulumi.String("555"),
			Protocol:             pulumi.String("udp"),
			SourceIpAddress:      pulumi.String("1.2.3.4"),
			SourcePort:           pulumi.String("444"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

network ACL rules can be imported using the `id`, e.g.

```sh

$ pulumi import huaweicloud:NetworkAcl/aclRule:AclRule rule_1 89a84b28-4cc2-4859-9885-c67e802a46a3

```

func GetAclRule

func GetAclRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AclRuleState, opts ...pulumi.ResourceOption) (*AclRule, error)

GetAclRule gets an existing AclRule resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewAclRule

func NewAclRule(ctx *pulumi.Context,
	name string, args *AclRuleArgs, opts ...pulumi.ResourceOption) (*AclRule, error)

NewAclRule registers a new resource with the given unique name, arguments, and options.

func (*AclRule) ElementType

func (*AclRule) ElementType() reflect.Type

func (*AclRule) ToAclRuleOutput

func (i *AclRule) ToAclRuleOutput() AclRuleOutput

func (*AclRule) ToAclRuleOutputWithContext

func (i *AclRule) ToAclRuleOutputWithContext(ctx context.Context) AclRuleOutput

type AclRuleArgs

type AclRuleArgs struct {
	// Specifies the action in the network ACL rule. Currently, the value can be *allow* or
	// *deny*.
	Action pulumi.StringInput
	// Specifies the description for the network ACL rule.
	Description pulumi.StringPtrInput
	// Specifies the destination IP address to which the traffic is allowed.
	// The default value is *0.0.0.0/0*. For example: xxx.xxx.xxx.xxx (IP address), xxx.xxx.xxx.0/24 (CIDR block).
	DestinationIpAddress pulumi.StringPtrInput
	// Specifies the destination port number or port number range. The value ranges
	// from 1 to 65535. For a port number range, enter two port numbers connected by a colon(:). For example, 1:100.
	DestinationPort pulumi.StringPtrInput
	// Enabled status for the network ACL rule. Defaults to true.
	Enabled pulumi.BoolPtrInput
	// Specifies the IP version, either 4 (default) or 6. This parameter is available after
	// the IPv6 function is enabled.
	IpVersion pulumi.IntPtrInput
	// Specifies a unique name for the network ACL rule.
	Name pulumi.StringPtrInput
	// Specifies the protocol supported by the network ACL rule. Valid values are: *tcp*,
	// *udp*, *icmp* and *any*.
	Protocol pulumi.StringInput
	// The region in which to create the network ACL rule resource. If omitted, the
	// provider-level region will be used. Changing this creates a new network ACL rule resource.
	Region pulumi.StringPtrInput
	// Specifies the source IP address that the traffic is allowed from. The default
	// value is *0.0.0.0/0*. For example: xxx.xxx.xxx.xxx (IP address), xxx.xxx.xxx.0/24 (CIDR block).
	SourceIpAddress pulumi.StringPtrInput
	// Specifies the source port number or port number range. The value ranges from 1 to
	// 65535. For a port number range, enter two port numbers connected by a colon(:). For example, 1:100.
	SourcePort pulumi.StringPtrInput
}

The set of arguments for constructing a AclRule resource.

func (AclRuleArgs) ElementType

func (AclRuleArgs) ElementType() reflect.Type

type AclRuleArray

type AclRuleArray []AclRuleInput

func (AclRuleArray) ElementType

func (AclRuleArray) ElementType() reflect.Type

func (AclRuleArray) ToAclRuleArrayOutput

func (i AclRuleArray) ToAclRuleArrayOutput() AclRuleArrayOutput

func (AclRuleArray) ToAclRuleArrayOutputWithContext

func (i AclRuleArray) ToAclRuleArrayOutputWithContext(ctx context.Context) AclRuleArrayOutput

type AclRuleArrayInput

type AclRuleArrayInput interface {
	pulumi.Input

	ToAclRuleArrayOutput() AclRuleArrayOutput
	ToAclRuleArrayOutputWithContext(context.Context) AclRuleArrayOutput
}

AclRuleArrayInput is an input type that accepts AclRuleArray and AclRuleArrayOutput values. You can construct a concrete instance of `AclRuleArrayInput` via:

AclRuleArray{ AclRuleArgs{...} }

type AclRuleArrayOutput

type AclRuleArrayOutput struct{ *pulumi.OutputState }

func (AclRuleArrayOutput) ElementType

func (AclRuleArrayOutput) ElementType() reflect.Type

func (AclRuleArrayOutput) Index

func (AclRuleArrayOutput) ToAclRuleArrayOutput

func (o AclRuleArrayOutput) ToAclRuleArrayOutput() AclRuleArrayOutput

func (AclRuleArrayOutput) ToAclRuleArrayOutputWithContext

func (o AclRuleArrayOutput) ToAclRuleArrayOutputWithContext(ctx context.Context) AclRuleArrayOutput

type AclRuleInput

type AclRuleInput interface {
	pulumi.Input

	ToAclRuleOutput() AclRuleOutput
	ToAclRuleOutputWithContext(ctx context.Context) AclRuleOutput
}

type AclRuleMap

type AclRuleMap map[string]AclRuleInput

func (AclRuleMap) ElementType

func (AclRuleMap) ElementType() reflect.Type

func (AclRuleMap) ToAclRuleMapOutput

func (i AclRuleMap) ToAclRuleMapOutput() AclRuleMapOutput

func (AclRuleMap) ToAclRuleMapOutputWithContext

func (i AclRuleMap) ToAclRuleMapOutputWithContext(ctx context.Context) AclRuleMapOutput

type AclRuleMapInput

type AclRuleMapInput interface {
	pulumi.Input

	ToAclRuleMapOutput() AclRuleMapOutput
	ToAclRuleMapOutputWithContext(context.Context) AclRuleMapOutput
}

AclRuleMapInput is an input type that accepts AclRuleMap and AclRuleMapOutput values. You can construct a concrete instance of `AclRuleMapInput` via:

AclRuleMap{ "key": AclRuleArgs{...} }

type AclRuleMapOutput

type AclRuleMapOutput struct{ *pulumi.OutputState }

func (AclRuleMapOutput) ElementType

func (AclRuleMapOutput) ElementType() reflect.Type

func (AclRuleMapOutput) MapIndex

func (AclRuleMapOutput) ToAclRuleMapOutput

func (o AclRuleMapOutput) ToAclRuleMapOutput() AclRuleMapOutput

func (AclRuleMapOutput) ToAclRuleMapOutputWithContext

func (o AclRuleMapOutput) ToAclRuleMapOutputWithContext(ctx context.Context) AclRuleMapOutput

type AclRuleOutput

type AclRuleOutput struct{ *pulumi.OutputState }

func (AclRuleOutput) Action

func (o AclRuleOutput) Action() pulumi.StringOutput

Specifies the action in the network ACL rule. Currently, the value can be *allow* or *deny*.

func (AclRuleOutput) Description

func (o AclRuleOutput) Description() pulumi.StringPtrOutput

Specifies the description for the network ACL rule.

func (AclRuleOutput) DestinationIpAddress

func (o AclRuleOutput) DestinationIpAddress() pulumi.StringPtrOutput

Specifies the destination IP address to which the traffic is allowed. The default value is *0.0.0.0/0*. For example: xxx.xxx.xxx.xxx (IP address), xxx.xxx.xxx.0/24 (CIDR block).

func (AclRuleOutput) DestinationPort

func (o AclRuleOutput) DestinationPort() pulumi.StringPtrOutput

Specifies the destination port number or port number range. The value ranges from 1 to 65535. For a port number range, enter two port numbers connected by a colon(:). For example, 1:100.

func (AclRuleOutput) ElementType

func (AclRuleOutput) ElementType() reflect.Type

func (AclRuleOutput) Enabled

func (o AclRuleOutput) Enabled() pulumi.BoolPtrOutput

Enabled status for the network ACL rule. Defaults to true.

func (AclRuleOutput) IpVersion

func (o AclRuleOutput) IpVersion() pulumi.IntPtrOutput

Specifies the IP version, either 4 (default) or 6. This parameter is available after the IPv6 function is enabled.

func (AclRuleOutput) Name

Specifies a unique name for the network ACL rule.

func (AclRuleOutput) Protocol

func (o AclRuleOutput) Protocol() pulumi.StringOutput

Specifies the protocol supported by the network ACL rule. Valid values are: *tcp*, *udp*, *icmp* and *any*.

func (AclRuleOutput) Region

func (o AclRuleOutput) Region() pulumi.StringOutput

The region in which to create the network ACL rule resource. If omitted, the provider-level region will be used. Changing this creates a new network ACL rule resource.

func (AclRuleOutput) SourceIpAddress

func (o AclRuleOutput) SourceIpAddress() pulumi.StringPtrOutput

Specifies the source IP address that the traffic is allowed from. The default value is *0.0.0.0/0*. For example: xxx.xxx.xxx.xxx (IP address), xxx.xxx.xxx.0/24 (CIDR block).

func (AclRuleOutput) SourcePort

func (o AclRuleOutput) SourcePort() pulumi.StringPtrOutput

Specifies the source port number or port number range. The value ranges from 1 to 65535. For a port number range, enter two port numbers connected by a colon(:). For example, 1:100.

func (AclRuleOutput) ToAclRuleOutput

func (o AclRuleOutput) ToAclRuleOutput() AclRuleOutput

func (AclRuleOutput) ToAclRuleOutputWithContext

func (o AclRuleOutput) ToAclRuleOutputWithContext(ctx context.Context) AclRuleOutput

type AclRuleState

type AclRuleState struct {
	// Specifies the action in the network ACL rule. Currently, the value can be *allow* or
	// *deny*.
	Action pulumi.StringPtrInput
	// Specifies the description for the network ACL rule.
	Description pulumi.StringPtrInput
	// Specifies the destination IP address to which the traffic is allowed.
	// The default value is *0.0.0.0/0*. For example: xxx.xxx.xxx.xxx (IP address), xxx.xxx.xxx.0/24 (CIDR block).
	DestinationIpAddress pulumi.StringPtrInput
	// Specifies the destination port number or port number range. The value ranges
	// from 1 to 65535. For a port number range, enter two port numbers connected by a colon(:). For example, 1:100.
	DestinationPort pulumi.StringPtrInput
	// Enabled status for the network ACL rule. Defaults to true.
	Enabled pulumi.BoolPtrInput
	// Specifies the IP version, either 4 (default) or 6. This parameter is available after
	// the IPv6 function is enabled.
	IpVersion pulumi.IntPtrInput
	// Specifies a unique name for the network ACL rule.
	Name pulumi.StringPtrInput
	// Specifies the protocol supported by the network ACL rule. Valid values are: *tcp*,
	// *udp*, *icmp* and *any*.
	Protocol pulumi.StringPtrInput
	// The region in which to create the network ACL rule resource. If omitted, the
	// provider-level region will be used. Changing this creates a new network ACL rule resource.
	Region pulumi.StringPtrInput
	// Specifies the source IP address that the traffic is allowed from. The default
	// value is *0.0.0.0/0*. For example: xxx.xxx.xxx.xxx (IP address), xxx.xxx.xxx.0/24 (CIDR block).
	SourceIpAddress pulumi.StringPtrInput
	// Specifies the source port number or port number range. The value ranges from 1 to
	// 65535. For a port number range, enter two port numbers connected by a colon(:). For example, 1:100.
	SourcePort pulumi.StringPtrInput
}

func (AclRuleState) ElementType

func (AclRuleState) ElementType() reflect.Type

type AclState

type AclState struct {
	// Specifies the supplementary information about the network ACL. This parameter can
	// contain a maximum of 255 characters and cannot contain angle brackets (< or >).
	Description pulumi.StringPtrInput
	// The ID of the ingress firewall policy for the network ACL.
	InboundPolicyId pulumi.StringPtrInput
	// A list of the IDs of ingress rules associated with the network ACL.
	InboundRules pulumi.StringArrayInput
	// Specifies the network ACL name. This parameter can contain a maximum of 64 characters,
	// which may consist of letters, digits, underscores (_), and hyphens (-).
	Name pulumi.StringPtrInput
	// The ID of the egress firewall policy for the network ACL.
	OutboundPolicyId pulumi.StringPtrInput
	// A list of the IDs of egress rules associated with the network ACL.
	OutboundRules pulumi.StringArrayInput
	// A list of the port IDs of the subnet gateway.
	Ports pulumi.StringArrayInput
	// The region in which to create the network acl resource. If omitted, the
	// provider-level region will be used. Changing this creates a new network acl resource.
	Region pulumi.StringPtrInput
	// The status of the network ACL.
	Status pulumi.StringPtrInput
	// A list of the IDs of networks associated with the network ACL.
	Subnets pulumi.StringArrayInput
}

func (AclState) ElementType

func (AclState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL