vpclattice

package
v6.32.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessLogSubscription

type AccessLogSubscription struct {
	pulumi.CustomResourceState

	// Amazon Resource Name (ARN) of the access log subscription.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Amazon Resource Name (ARN) of the log destination.
	DestinationArn pulumi.StringOutput `pulumi:"destinationArn"`
	// Amazon Resource Name (ARN) of the service network or service.
	ResourceArn pulumi.StringOutput `pulumi:"resourceArn"`
	// The ID or Amazon Resource Identifier (ARN) of the service network or service. You must use the ARN if the resources specified in the operation are in different accounts.
	ResourceIdentifier pulumi.StringOutput    `pulumi:"resourceIdentifier"`
	Tags               pulumi.StringMapOutput `pulumi:"tags"`
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Resource for managing an AWS VPC Lattice Service Network or Service Access log subscription.

## Example Usage

### Basic Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/vpclattice"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpclattice.NewAccessLogSubscription(ctx, "example", &vpclattice.AccessLogSubscriptionArgs{
			ResourceIdentifier: pulumi.Any(exampleAwsVpclatticeServiceNetwork.Id),
			DestinationArn:     pulumi.Any(bucket.Arn),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Using `pulumi import`, import VPC Lattice Access Log Subscription using the access log subscription ID. For example:

```sh $ pulumi import aws:vpclattice/accessLogSubscription:AccessLogSubscription example rft-8012925589 ```

func GetAccessLogSubscription

func GetAccessLogSubscription(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AccessLogSubscriptionState, opts ...pulumi.ResourceOption) (*AccessLogSubscription, error)

GetAccessLogSubscription gets an existing AccessLogSubscription 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 NewAccessLogSubscription

func NewAccessLogSubscription(ctx *pulumi.Context,
	name string, args *AccessLogSubscriptionArgs, opts ...pulumi.ResourceOption) (*AccessLogSubscription, error)

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

func (*AccessLogSubscription) ElementType

func (*AccessLogSubscription) ElementType() reflect.Type

func (*AccessLogSubscription) ToAccessLogSubscriptionOutput

func (i *AccessLogSubscription) ToAccessLogSubscriptionOutput() AccessLogSubscriptionOutput

func (*AccessLogSubscription) ToAccessLogSubscriptionOutputWithContext

func (i *AccessLogSubscription) ToAccessLogSubscriptionOutputWithContext(ctx context.Context) AccessLogSubscriptionOutput

type AccessLogSubscriptionArgs

type AccessLogSubscriptionArgs struct {
	// Amazon Resource Name (ARN) of the log destination.
	DestinationArn pulumi.StringInput
	// The ID or Amazon Resource Identifier (ARN) of the service network or service. You must use the ARN if the resources specified in the operation are in different accounts.
	ResourceIdentifier pulumi.StringInput
	Tags               pulumi.StringMapInput
}

The set of arguments for constructing a AccessLogSubscription resource.

func (AccessLogSubscriptionArgs) ElementType

func (AccessLogSubscriptionArgs) ElementType() reflect.Type

type AccessLogSubscriptionArray

type AccessLogSubscriptionArray []AccessLogSubscriptionInput

func (AccessLogSubscriptionArray) ElementType

func (AccessLogSubscriptionArray) ElementType() reflect.Type

func (AccessLogSubscriptionArray) ToAccessLogSubscriptionArrayOutput

func (i AccessLogSubscriptionArray) ToAccessLogSubscriptionArrayOutput() AccessLogSubscriptionArrayOutput

func (AccessLogSubscriptionArray) ToAccessLogSubscriptionArrayOutputWithContext

func (i AccessLogSubscriptionArray) ToAccessLogSubscriptionArrayOutputWithContext(ctx context.Context) AccessLogSubscriptionArrayOutput

type AccessLogSubscriptionArrayInput

type AccessLogSubscriptionArrayInput interface {
	pulumi.Input

	ToAccessLogSubscriptionArrayOutput() AccessLogSubscriptionArrayOutput
	ToAccessLogSubscriptionArrayOutputWithContext(context.Context) AccessLogSubscriptionArrayOutput
}

AccessLogSubscriptionArrayInput is an input type that accepts AccessLogSubscriptionArray and AccessLogSubscriptionArrayOutput values. You can construct a concrete instance of `AccessLogSubscriptionArrayInput` via:

AccessLogSubscriptionArray{ AccessLogSubscriptionArgs{...} }

type AccessLogSubscriptionArrayOutput

type AccessLogSubscriptionArrayOutput struct{ *pulumi.OutputState }

func (AccessLogSubscriptionArrayOutput) ElementType

func (AccessLogSubscriptionArrayOutput) Index

func (AccessLogSubscriptionArrayOutput) ToAccessLogSubscriptionArrayOutput

func (o AccessLogSubscriptionArrayOutput) ToAccessLogSubscriptionArrayOutput() AccessLogSubscriptionArrayOutput

func (AccessLogSubscriptionArrayOutput) ToAccessLogSubscriptionArrayOutputWithContext

func (o AccessLogSubscriptionArrayOutput) ToAccessLogSubscriptionArrayOutputWithContext(ctx context.Context) AccessLogSubscriptionArrayOutput

type AccessLogSubscriptionInput

type AccessLogSubscriptionInput interface {
	pulumi.Input

	ToAccessLogSubscriptionOutput() AccessLogSubscriptionOutput
	ToAccessLogSubscriptionOutputWithContext(ctx context.Context) AccessLogSubscriptionOutput
}

type AccessLogSubscriptionMap

type AccessLogSubscriptionMap map[string]AccessLogSubscriptionInput

func (AccessLogSubscriptionMap) ElementType

func (AccessLogSubscriptionMap) ElementType() reflect.Type

func (AccessLogSubscriptionMap) ToAccessLogSubscriptionMapOutput

func (i AccessLogSubscriptionMap) ToAccessLogSubscriptionMapOutput() AccessLogSubscriptionMapOutput

func (AccessLogSubscriptionMap) ToAccessLogSubscriptionMapOutputWithContext

func (i AccessLogSubscriptionMap) ToAccessLogSubscriptionMapOutputWithContext(ctx context.Context) AccessLogSubscriptionMapOutput

type AccessLogSubscriptionMapInput

type AccessLogSubscriptionMapInput interface {
	pulumi.Input

	ToAccessLogSubscriptionMapOutput() AccessLogSubscriptionMapOutput
	ToAccessLogSubscriptionMapOutputWithContext(context.Context) AccessLogSubscriptionMapOutput
}

AccessLogSubscriptionMapInput is an input type that accepts AccessLogSubscriptionMap and AccessLogSubscriptionMapOutput values. You can construct a concrete instance of `AccessLogSubscriptionMapInput` via:

AccessLogSubscriptionMap{ "key": AccessLogSubscriptionArgs{...} }

type AccessLogSubscriptionMapOutput

type AccessLogSubscriptionMapOutput struct{ *pulumi.OutputState }

func (AccessLogSubscriptionMapOutput) ElementType

func (AccessLogSubscriptionMapOutput) MapIndex

func (AccessLogSubscriptionMapOutput) ToAccessLogSubscriptionMapOutput

func (o AccessLogSubscriptionMapOutput) ToAccessLogSubscriptionMapOutput() AccessLogSubscriptionMapOutput

func (AccessLogSubscriptionMapOutput) ToAccessLogSubscriptionMapOutputWithContext

func (o AccessLogSubscriptionMapOutput) ToAccessLogSubscriptionMapOutputWithContext(ctx context.Context) AccessLogSubscriptionMapOutput

type AccessLogSubscriptionOutput

type AccessLogSubscriptionOutput struct{ *pulumi.OutputState }

func (AccessLogSubscriptionOutput) Arn

Amazon Resource Name (ARN) of the access log subscription.

func (AccessLogSubscriptionOutput) DestinationArn

func (o AccessLogSubscriptionOutput) DestinationArn() pulumi.StringOutput

Amazon Resource Name (ARN) of the log destination.

func (AccessLogSubscriptionOutput) ElementType

func (AccessLogSubscriptionOutput) ResourceArn

Amazon Resource Name (ARN) of the service network or service.

func (AccessLogSubscriptionOutput) ResourceIdentifier

func (o AccessLogSubscriptionOutput) ResourceIdentifier() pulumi.StringOutput

The ID or Amazon Resource Identifier (ARN) of the service network or service. You must use the ARN if the resources specified in the operation are in different accounts.

func (AccessLogSubscriptionOutput) Tags

func (AccessLogSubscriptionOutput) TagsAll deprecated

Deprecated: Please use `tags` instead.

func (AccessLogSubscriptionOutput) ToAccessLogSubscriptionOutput

func (o AccessLogSubscriptionOutput) ToAccessLogSubscriptionOutput() AccessLogSubscriptionOutput

func (AccessLogSubscriptionOutput) ToAccessLogSubscriptionOutputWithContext

func (o AccessLogSubscriptionOutput) ToAccessLogSubscriptionOutputWithContext(ctx context.Context) AccessLogSubscriptionOutput

type AccessLogSubscriptionState

type AccessLogSubscriptionState struct {
	// Amazon Resource Name (ARN) of the access log subscription.
	Arn pulumi.StringPtrInput
	// Amazon Resource Name (ARN) of the log destination.
	DestinationArn pulumi.StringPtrInput
	// Amazon Resource Name (ARN) of the service network or service.
	ResourceArn pulumi.StringPtrInput
	// The ID or Amazon Resource Identifier (ARN) of the service network or service. You must use the ARN if the resources specified in the operation are in different accounts.
	ResourceIdentifier pulumi.StringPtrInput
	Tags               pulumi.StringMapInput
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (AccessLogSubscriptionState) ElementType

func (AccessLogSubscriptionState) ElementType() reflect.Type

type AuthPolicy

type AuthPolicy struct {
	pulumi.CustomResourceState

	// The auth policy. The policy string in JSON must not contain newlines or blank lines.
	Policy pulumi.StringOutput `pulumi:"policy"`
	// The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.
	ResourceIdentifier pulumi.StringOutput `pulumi:"resourceIdentifier"`
	// The state of the auth policy. The auth policy is only active when the auth type is set to `AWS_IAM`. If you provide a policy, then authentication and authorization decisions are made based on this policy and the client's IAM policy. If the Auth type is `NONE`, then, any auth policy you provide will remain inactive.
	State pulumi.StringPtrOutput `pulumi:"state"`
}

Resource for managing an AWS VPC Lattice Auth Policy.

## Example Usage

### Basic Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"encoding/json"

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/vpclattice"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := vpclattice.NewService(ctx, "example", &vpclattice.ServiceArgs{
			Name:             pulumi.String("example-vpclattice-service"),
			AuthType:         pulumi.String("AWS_IAM"),
			CustomDomainName: pulumi.String("example.com"),
		})
		if err != nil {
			return err
		}
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"Version": "2012-10-17",
			"Statement": []map[string]interface{}{
				map[string]interface{}{
					"Action":    "*",
					"Effect":    "Allow",
					"Principal": "*",
					"Resource":  "*",
					"Condition": map[string]interface{}{
						"StringNotEqualsIgnoreCase": map[string]interface{}{
							"aws:PrincipalType": "anonymous",
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		_, err = vpclattice.NewAuthPolicy(ctx, "example", &vpclattice.AuthPolicyArgs{
			ResourceIdentifier: example.Arn,
			Policy:             pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Using `pulumi import`, import VPC Lattice Auth Policy using the `id`. For example:

```sh $ pulumi import aws:vpclattice/authPolicy:AuthPolicy example abcd-12345678 ```

func GetAuthPolicy

func GetAuthPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AuthPolicyState, opts ...pulumi.ResourceOption) (*AuthPolicy, error)

GetAuthPolicy gets an existing AuthPolicy 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 NewAuthPolicy

func NewAuthPolicy(ctx *pulumi.Context,
	name string, args *AuthPolicyArgs, opts ...pulumi.ResourceOption) (*AuthPolicy, error)

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

func (*AuthPolicy) ElementType

func (*AuthPolicy) ElementType() reflect.Type

func (*AuthPolicy) ToAuthPolicyOutput

func (i *AuthPolicy) ToAuthPolicyOutput() AuthPolicyOutput

func (*AuthPolicy) ToAuthPolicyOutputWithContext

func (i *AuthPolicy) ToAuthPolicyOutputWithContext(ctx context.Context) AuthPolicyOutput

type AuthPolicyArgs

type AuthPolicyArgs struct {
	// The auth policy. The policy string in JSON must not contain newlines or blank lines.
	Policy pulumi.StringInput
	// The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.
	ResourceIdentifier pulumi.StringInput
	// The state of the auth policy. The auth policy is only active when the auth type is set to `AWS_IAM`. If you provide a policy, then authentication and authorization decisions are made based on this policy and the client's IAM policy. If the Auth type is `NONE`, then, any auth policy you provide will remain inactive.
	State pulumi.StringPtrInput
}

The set of arguments for constructing a AuthPolicy resource.

func (AuthPolicyArgs) ElementType

func (AuthPolicyArgs) ElementType() reflect.Type

type AuthPolicyArray

type AuthPolicyArray []AuthPolicyInput

func (AuthPolicyArray) ElementType

func (AuthPolicyArray) ElementType() reflect.Type

func (AuthPolicyArray) ToAuthPolicyArrayOutput

func (i AuthPolicyArray) ToAuthPolicyArrayOutput() AuthPolicyArrayOutput

func (AuthPolicyArray) ToAuthPolicyArrayOutputWithContext

func (i AuthPolicyArray) ToAuthPolicyArrayOutputWithContext(ctx context.Context) AuthPolicyArrayOutput

type AuthPolicyArrayInput

type AuthPolicyArrayInput interface {
	pulumi.Input

	ToAuthPolicyArrayOutput() AuthPolicyArrayOutput
	ToAuthPolicyArrayOutputWithContext(context.Context) AuthPolicyArrayOutput
}

AuthPolicyArrayInput is an input type that accepts AuthPolicyArray and AuthPolicyArrayOutput values. You can construct a concrete instance of `AuthPolicyArrayInput` via:

AuthPolicyArray{ AuthPolicyArgs{...} }

type AuthPolicyArrayOutput

type AuthPolicyArrayOutput struct{ *pulumi.OutputState }

func (AuthPolicyArrayOutput) ElementType

func (AuthPolicyArrayOutput) ElementType() reflect.Type

func (AuthPolicyArrayOutput) Index

func (AuthPolicyArrayOutput) ToAuthPolicyArrayOutput

func (o AuthPolicyArrayOutput) ToAuthPolicyArrayOutput() AuthPolicyArrayOutput

func (AuthPolicyArrayOutput) ToAuthPolicyArrayOutputWithContext

func (o AuthPolicyArrayOutput) ToAuthPolicyArrayOutputWithContext(ctx context.Context) AuthPolicyArrayOutput

type AuthPolicyInput

type AuthPolicyInput interface {
	pulumi.Input

	ToAuthPolicyOutput() AuthPolicyOutput
	ToAuthPolicyOutputWithContext(ctx context.Context) AuthPolicyOutput
}

type AuthPolicyMap

type AuthPolicyMap map[string]AuthPolicyInput

func (AuthPolicyMap) ElementType

func (AuthPolicyMap) ElementType() reflect.Type

func (AuthPolicyMap) ToAuthPolicyMapOutput

func (i AuthPolicyMap) ToAuthPolicyMapOutput() AuthPolicyMapOutput

func (AuthPolicyMap) ToAuthPolicyMapOutputWithContext

func (i AuthPolicyMap) ToAuthPolicyMapOutputWithContext(ctx context.Context) AuthPolicyMapOutput

type AuthPolicyMapInput

type AuthPolicyMapInput interface {
	pulumi.Input

	ToAuthPolicyMapOutput() AuthPolicyMapOutput
	ToAuthPolicyMapOutputWithContext(context.Context) AuthPolicyMapOutput
}

AuthPolicyMapInput is an input type that accepts AuthPolicyMap and AuthPolicyMapOutput values. You can construct a concrete instance of `AuthPolicyMapInput` via:

AuthPolicyMap{ "key": AuthPolicyArgs{...} }

type AuthPolicyMapOutput

type AuthPolicyMapOutput struct{ *pulumi.OutputState }

func (AuthPolicyMapOutput) ElementType

func (AuthPolicyMapOutput) ElementType() reflect.Type

func (AuthPolicyMapOutput) MapIndex

func (AuthPolicyMapOutput) ToAuthPolicyMapOutput

func (o AuthPolicyMapOutput) ToAuthPolicyMapOutput() AuthPolicyMapOutput

func (AuthPolicyMapOutput) ToAuthPolicyMapOutputWithContext

func (o AuthPolicyMapOutput) ToAuthPolicyMapOutputWithContext(ctx context.Context) AuthPolicyMapOutput

type AuthPolicyOutput

type AuthPolicyOutput struct{ *pulumi.OutputState }

func (AuthPolicyOutput) ElementType

func (AuthPolicyOutput) ElementType() reflect.Type

func (AuthPolicyOutput) Policy

The auth policy. The policy string in JSON must not contain newlines or blank lines.

func (AuthPolicyOutput) ResourceIdentifier

func (o AuthPolicyOutput) ResourceIdentifier() pulumi.StringOutput

The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.

func (AuthPolicyOutput) State

The state of the auth policy. The auth policy is only active when the auth type is set to `AWS_IAM`. If you provide a policy, then authentication and authorization decisions are made based on this policy and the client's IAM policy. If the Auth type is `NONE`, then, any auth policy you provide will remain inactive.

func (AuthPolicyOutput) ToAuthPolicyOutput

func (o AuthPolicyOutput) ToAuthPolicyOutput() AuthPolicyOutput

func (AuthPolicyOutput) ToAuthPolicyOutputWithContext

func (o AuthPolicyOutput) ToAuthPolicyOutputWithContext(ctx context.Context) AuthPolicyOutput

type AuthPolicyState

type AuthPolicyState struct {
	// The auth policy. The policy string in JSON must not contain newlines or blank lines.
	Policy pulumi.StringPtrInput
	// The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.
	ResourceIdentifier pulumi.StringPtrInput
	// The state of the auth policy. The auth policy is only active when the auth type is set to `AWS_IAM`. If you provide a policy, then authentication and authorization decisions are made based on this policy and the client's IAM policy. If the Auth type is `NONE`, then, any auth policy you provide will remain inactive.
	State pulumi.StringPtrInput
}

func (AuthPolicyState) ElementType

func (AuthPolicyState) ElementType() reflect.Type

type GetListenerDefaultAction

type GetListenerDefaultAction struct {
	FixedResponses []GetListenerDefaultActionFixedResponse `pulumi:"fixedResponses"`
	Forwards       []GetListenerDefaultActionForward       `pulumi:"forwards"`
}

type GetListenerDefaultActionArgs

type GetListenerDefaultActionArgs struct {
	FixedResponses GetListenerDefaultActionFixedResponseArrayInput `pulumi:"fixedResponses"`
	Forwards       GetListenerDefaultActionForwardArrayInput       `pulumi:"forwards"`
}

func (GetListenerDefaultActionArgs) ElementType

func (GetListenerDefaultActionArgs) ToGetListenerDefaultActionOutput

func (i GetListenerDefaultActionArgs) ToGetListenerDefaultActionOutput() GetListenerDefaultActionOutput

func (GetListenerDefaultActionArgs) ToGetListenerDefaultActionOutputWithContext

func (i GetListenerDefaultActionArgs) ToGetListenerDefaultActionOutputWithContext(ctx context.Context) GetListenerDefaultActionOutput

type GetListenerDefaultActionArray

type GetListenerDefaultActionArray []GetListenerDefaultActionInput

func (GetListenerDefaultActionArray) ElementType

func (GetListenerDefaultActionArray) ToGetListenerDefaultActionArrayOutput

func (i GetListenerDefaultActionArray) ToGetListenerDefaultActionArrayOutput() GetListenerDefaultActionArrayOutput

func (GetListenerDefaultActionArray) ToGetListenerDefaultActionArrayOutputWithContext

func (i GetListenerDefaultActionArray) ToGetListenerDefaultActionArrayOutputWithContext(ctx context.Context) GetListenerDefaultActionArrayOutput

type GetListenerDefaultActionArrayInput

type GetListenerDefaultActionArrayInput interface {
	pulumi.Input

	ToGetListenerDefaultActionArrayOutput() GetListenerDefaultActionArrayOutput
	ToGetListenerDefaultActionArrayOutputWithContext(context.Context) GetListenerDefaultActionArrayOutput
}

GetListenerDefaultActionArrayInput is an input type that accepts GetListenerDefaultActionArray and GetListenerDefaultActionArrayOutput values. You can construct a concrete instance of `GetListenerDefaultActionArrayInput` via:

GetListenerDefaultActionArray{ GetListenerDefaultActionArgs{...} }

type GetListenerDefaultActionArrayOutput

type GetListenerDefaultActionArrayOutput struct{ *pulumi.OutputState }

func (GetListenerDefaultActionArrayOutput) ElementType

func (GetListenerDefaultActionArrayOutput) Index

func (GetListenerDefaultActionArrayOutput) ToGetListenerDefaultActionArrayOutput

func (o GetListenerDefaultActionArrayOutput) ToGetListenerDefaultActionArrayOutput() GetListenerDefaultActionArrayOutput

func (GetListenerDefaultActionArrayOutput) ToGetListenerDefaultActionArrayOutputWithContext

func (o GetListenerDefaultActionArrayOutput) ToGetListenerDefaultActionArrayOutputWithContext(ctx context.Context) GetListenerDefaultActionArrayOutput

type GetListenerDefaultActionFixedResponse

type GetListenerDefaultActionFixedResponse struct {
	StatusCode int `pulumi:"statusCode"`
}

type GetListenerDefaultActionFixedResponseArgs

type GetListenerDefaultActionFixedResponseArgs struct {
	StatusCode pulumi.IntInput `pulumi:"statusCode"`
}

func (GetListenerDefaultActionFixedResponseArgs) ElementType

func (GetListenerDefaultActionFixedResponseArgs) ToGetListenerDefaultActionFixedResponseOutput

func (i GetListenerDefaultActionFixedResponseArgs) ToGetListenerDefaultActionFixedResponseOutput() GetListenerDefaultActionFixedResponseOutput

func (GetListenerDefaultActionFixedResponseArgs) ToGetListenerDefaultActionFixedResponseOutputWithContext

func (i GetListenerDefaultActionFixedResponseArgs) ToGetListenerDefaultActionFixedResponseOutputWithContext(ctx context.Context) GetListenerDefaultActionFixedResponseOutput

type GetListenerDefaultActionFixedResponseArray

type GetListenerDefaultActionFixedResponseArray []GetListenerDefaultActionFixedResponseInput

func (GetListenerDefaultActionFixedResponseArray) ElementType

func (GetListenerDefaultActionFixedResponseArray) ToGetListenerDefaultActionFixedResponseArrayOutput

func (i GetListenerDefaultActionFixedResponseArray) ToGetListenerDefaultActionFixedResponseArrayOutput() GetListenerDefaultActionFixedResponseArrayOutput

func (GetListenerDefaultActionFixedResponseArray) ToGetListenerDefaultActionFixedResponseArrayOutputWithContext

func (i GetListenerDefaultActionFixedResponseArray) ToGetListenerDefaultActionFixedResponseArrayOutputWithContext(ctx context.Context) GetListenerDefaultActionFixedResponseArrayOutput

type GetListenerDefaultActionFixedResponseArrayInput

type GetListenerDefaultActionFixedResponseArrayInput interface {
	pulumi.Input

	ToGetListenerDefaultActionFixedResponseArrayOutput() GetListenerDefaultActionFixedResponseArrayOutput
	ToGetListenerDefaultActionFixedResponseArrayOutputWithContext(context.Context) GetListenerDefaultActionFixedResponseArrayOutput
}

GetListenerDefaultActionFixedResponseArrayInput is an input type that accepts GetListenerDefaultActionFixedResponseArray and GetListenerDefaultActionFixedResponseArrayOutput values. You can construct a concrete instance of `GetListenerDefaultActionFixedResponseArrayInput` via:

GetListenerDefaultActionFixedResponseArray{ GetListenerDefaultActionFixedResponseArgs{...} }

type GetListenerDefaultActionFixedResponseArrayOutput

type GetListenerDefaultActionFixedResponseArrayOutput struct{ *pulumi.OutputState }

func (GetListenerDefaultActionFixedResponseArrayOutput) ElementType

func (GetListenerDefaultActionFixedResponseArrayOutput) Index

func (GetListenerDefaultActionFixedResponseArrayOutput) ToGetListenerDefaultActionFixedResponseArrayOutput

func (o GetListenerDefaultActionFixedResponseArrayOutput) ToGetListenerDefaultActionFixedResponseArrayOutput() GetListenerDefaultActionFixedResponseArrayOutput

func (GetListenerDefaultActionFixedResponseArrayOutput) ToGetListenerDefaultActionFixedResponseArrayOutputWithContext

func (o GetListenerDefaultActionFixedResponseArrayOutput) ToGetListenerDefaultActionFixedResponseArrayOutputWithContext(ctx context.Context) GetListenerDefaultActionFixedResponseArrayOutput

type GetListenerDefaultActionFixedResponseInput

type GetListenerDefaultActionFixedResponseInput interface {
	pulumi.Input

	ToGetListenerDefaultActionFixedResponseOutput() GetListenerDefaultActionFixedResponseOutput
	ToGetListenerDefaultActionFixedResponseOutputWithContext(context.Context) GetListenerDefaultActionFixedResponseOutput
}

GetListenerDefaultActionFixedResponseInput is an input type that accepts GetListenerDefaultActionFixedResponseArgs and GetListenerDefaultActionFixedResponseOutput values. You can construct a concrete instance of `GetListenerDefaultActionFixedResponseInput` via:

GetListenerDefaultActionFixedResponseArgs{...}

type GetListenerDefaultActionFixedResponseOutput

type GetListenerDefaultActionFixedResponseOutput struct{ *pulumi.OutputState }

func (GetListenerDefaultActionFixedResponseOutput) ElementType

func (GetListenerDefaultActionFixedResponseOutput) StatusCode

func (GetListenerDefaultActionFixedResponseOutput) ToGetListenerDefaultActionFixedResponseOutput

func (o GetListenerDefaultActionFixedResponseOutput) ToGetListenerDefaultActionFixedResponseOutput() GetListenerDefaultActionFixedResponseOutput

func (GetListenerDefaultActionFixedResponseOutput) ToGetListenerDefaultActionFixedResponseOutputWithContext

func (o GetListenerDefaultActionFixedResponseOutput) ToGetListenerDefaultActionFixedResponseOutputWithContext(ctx context.Context) GetListenerDefaultActionFixedResponseOutput

type GetListenerDefaultActionForward

type GetListenerDefaultActionForward struct {
	TargetGroups []GetListenerDefaultActionForwardTargetGroup `pulumi:"targetGroups"`
}

type GetListenerDefaultActionForwardArgs

type GetListenerDefaultActionForwardArgs struct {
	TargetGroups GetListenerDefaultActionForwardTargetGroupArrayInput `pulumi:"targetGroups"`
}

func (GetListenerDefaultActionForwardArgs) ElementType

func (GetListenerDefaultActionForwardArgs) ToGetListenerDefaultActionForwardOutput

func (i GetListenerDefaultActionForwardArgs) ToGetListenerDefaultActionForwardOutput() GetListenerDefaultActionForwardOutput

func (GetListenerDefaultActionForwardArgs) ToGetListenerDefaultActionForwardOutputWithContext

func (i GetListenerDefaultActionForwardArgs) ToGetListenerDefaultActionForwardOutputWithContext(ctx context.Context) GetListenerDefaultActionForwardOutput

type GetListenerDefaultActionForwardArray

type GetListenerDefaultActionForwardArray []GetListenerDefaultActionForwardInput

func (GetListenerDefaultActionForwardArray) ElementType

func (GetListenerDefaultActionForwardArray) ToGetListenerDefaultActionForwardArrayOutput

func (i GetListenerDefaultActionForwardArray) ToGetListenerDefaultActionForwardArrayOutput() GetListenerDefaultActionForwardArrayOutput

func (GetListenerDefaultActionForwardArray) ToGetListenerDefaultActionForwardArrayOutputWithContext

func (i GetListenerDefaultActionForwardArray) ToGetListenerDefaultActionForwardArrayOutputWithContext(ctx context.Context) GetListenerDefaultActionForwardArrayOutput

type GetListenerDefaultActionForwardArrayInput

type GetListenerDefaultActionForwardArrayInput interface {
	pulumi.Input

	ToGetListenerDefaultActionForwardArrayOutput() GetListenerDefaultActionForwardArrayOutput
	ToGetListenerDefaultActionForwardArrayOutputWithContext(context.Context) GetListenerDefaultActionForwardArrayOutput
}

GetListenerDefaultActionForwardArrayInput is an input type that accepts GetListenerDefaultActionForwardArray and GetListenerDefaultActionForwardArrayOutput values. You can construct a concrete instance of `GetListenerDefaultActionForwardArrayInput` via:

GetListenerDefaultActionForwardArray{ GetListenerDefaultActionForwardArgs{...} }

type GetListenerDefaultActionForwardArrayOutput

type GetListenerDefaultActionForwardArrayOutput struct{ *pulumi.OutputState }

func (GetListenerDefaultActionForwardArrayOutput) ElementType

func (GetListenerDefaultActionForwardArrayOutput) Index

func (GetListenerDefaultActionForwardArrayOutput) ToGetListenerDefaultActionForwardArrayOutput

func (o GetListenerDefaultActionForwardArrayOutput) ToGetListenerDefaultActionForwardArrayOutput() GetListenerDefaultActionForwardArrayOutput

func (GetListenerDefaultActionForwardArrayOutput) ToGetListenerDefaultActionForwardArrayOutputWithContext

func (o GetListenerDefaultActionForwardArrayOutput) ToGetListenerDefaultActionForwardArrayOutputWithContext(ctx context.Context) GetListenerDefaultActionForwardArrayOutput

type GetListenerDefaultActionForwardInput

type GetListenerDefaultActionForwardInput interface {
	pulumi.Input

	ToGetListenerDefaultActionForwardOutput() GetListenerDefaultActionForwardOutput
	ToGetListenerDefaultActionForwardOutputWithContext(context.Context) GetListenerDefaultActionForwardOutput
}

GetListenerDefaultActionForwardInput is an input type that accepts GetListenerDefaultActionForwardArgs and GetListenerDefaultActionForwardOutput values. You can construct a concrete instance of `GetListenerDefaultActionForwardInput` via:

GetListenerDefaultActionForwardArgs{...}

type GetListenerDefaultActionForwardOutput

type GetListenerDefaultActionForwardOutput struct{ *pulumi.OutputState }

func (GetListenerDefaultActionForwardOutput) ElementType

func (GetListenerDefaultActionForwardOutput) TargetGroups

func (GetListenerDefaultActionForwardOutput) ToGetListenerDefaultActionForwardOutput

func (o GetListenerDefaultActionForwardOutput) ToGetListenerDefaultActionForwardOutput() GetListenerDefaultActionForwardOutput

func (GetListenerDefaultActionForwardOutput) ToGetListenerDefaultActionForwardOutputWithContext

func (o GetListenerDefaultActionForwardOutput) ToGetListenerDefaultActionForwardOutputWithContext(ctx context.Context) GetListenerDefaultActionForwardOutput

type GetListenerDefaultActionForwardTargetGroup

type GetListenerDefaultActionForwardTargetGroup struct {
	TargetGroupIdentifier string `pulumi:"targetGroupIdentifier"`
	Weight                int    `pulumi:"weight"`
}

type GetListenerDefaultActionForwardTargetGroupArgs

type GetListenerDefaultActionForwardTargetGroupArgs struct {
	TargetGroupIdentifier pulumi.StringInput `pulumi:"targetGroupIdentifier"`
	Weight                pulumi.IntInput    `pulumi:"weight"`
}

func (GetListenerDefaultActionForwardTargetGroupArgs) ElementType

func (GetListenerDefaultActionForwardTargetGroupArgs) ToGetListenerDefaultActionForwardTargetGroupOutput

func (i GetListenerDefaultActionForwardTargetGroupArgs) ToGetListenerDefaultActionForwardTargetGroupOutput() GetListenerDefaultActionForwardTargetGroupOutput

func (GetListenerDefaultActionForwardTargetGroupArgs) ToGetListenerDefaultActionForwardTargetGroupOutputWithContext

func (i GetListenerDefaultActionForwardTargetGroupArgs) ToGetListenerDefaultActionForwardTargetGroupOutputWithContext(ctx context.Context) GetListenerDefaultActionForwardTargetGroupOutput

type GetListenerDefaultActionForwardTargetGroupArray

type GetListenerDefaultActionForwardTargetGroupArray []GetListenerDefaultActionForwardTargetGroupInput

func (GetListenerDefaultActionForwardTargetGroupArray) ElementType

func (GetListenerDefaultActionForwardTargetGroupArray) ToGetListenerDefaultActionForwardTargetGroupArrayOutput

func (i GetListenerDefaultActionForwardTargetGroupArray) ToGetListenerDefaultActionForwardTargetGroupArrayOutput() GetListenerDefaultActionForwardTargetGroupArrayOutput

func (GetListenerDefaultActionForwardTargetGroupArray) ToGetListenerDefaultActionForwardTargetGroupArrayOutputWithContext

func (i GetListenerDefaultActionForwardTargetGroupArray) ToGetListenerDefaultActionForwardTargetGroupArrayOutputWithContext(ctx context.Context) GetListenerDefaultActionForwardTargetGroupArrayOutput

type GetListenerDefaultActionForwardTargetGroupArrayInput

type GetListenerDefaultActionForwardTargetGroupArrayInput interface {
	pulumi.Input

	ToGetListenerDefaultActionForwardTargetGroupArrayOutput() GetListenerDefaultActionForwardTargetGroupArrayOutput
	ToGetListenerDefaultActionForwardTargetGroupArrayOutputWithContext(context.Context) GetListenerDefaultActionForwardTargetGroupArrayOutput
}

GetListenerDefaultActionForwardTargetGroupArrayInput is an input type that accepts GetListenerDefaultActionForwardTargetGroupArray and GetListenerDefaultActionForwardTargetGroupArrayOutput values. You can construct a concrete instance of `GetListenerDefaultActionForwardTargetGroupArrayInput` via:

GetListenerDefaultActionForwardTargetGroupArray{ GetListenerDefaultActionForwardTargetGroupArgs{...} }

type GetListenerDefaultActionForwardTargetGroupArrayOutput

type GetListenerDefaultActionForwardTargetGroupArrayOutput struct{ *pulumi.OutputState }

func (GetListenerDefaultActionForwardTargetGroupArrayOutput) ElementType

func (GetListenerDefaultActionForwardTargetGroupArrayOutput) Index

func (GetListenerDefaultActionForwardTargetGroupArrayOutput) ToGetListenerDefaultActionForwardTargetGroupArrayOutput

func (GetListenerDefaultActionForwardTargetGroupArrayOutput) ToGetListenerDefaultActionForwardTargetGroupArrayOutputWithContext

func (o GetListenerDefaultActionForwardTargetGroupArrayOutput) ToGetListenerDefaultActionForwardTargetGroupArrayOutputWithContext(ctx context.Context) GetListenerDefaultActionForwardTargetGroupArrayOutput

type GetListenerDefaultActionForwardTargetGroupInput

type GetListenerDefaultActionForwardTargetGroupInput interface {
	pulumi.Input

	ToGetListenerDefaultActionForwardTargetGroupOutput() GetListenerDefaultActionForwardTargetGroupOutput
	ToGetListenerDefaultActionForwardTargetGroupOutputWithContext(context.Context) GetListenerDefaultActionForwardTargetGroupOutput
}

GetListenerDefaultActionForwardTargetGroupInput is an input type that accepts GetListenerDefaultActionForwardTargetGroupArgs and GetListenerDefaultActionForwardTargetGroupOutput values. You can construct a concrete instance of `GetListenerDefaultActionForwardTargetGroupInput` via:

GetListenerDefaultActionForwardTargetGroupArgs{...}

type GetListenerDefaultActionForwardTargetGroupOutput

type GetListenerDefaultActionForwardTargetGroupOutput struct{ *pulumi.OutputState }

func (GetListenerDefaultActionForwardTargetGroupOutput) ElementType

func (GetListenerDefaultActionForwardTargetGroupOutput) TargetGroupIdentifier

func (GetListenerDefaultActionForwardTargetGroupOutput) ToGetListenerDefaultActionForwardTargetGroupOutput

func (o GetListenerDefaultActionForwardTargetGroupOutput) ToGetListenerDefaultActionForwardTargetGroupOutput() GetListenerDefaultActionForwardTargetGroupOutput

func (GetListenerDefaultActionForwardTargetGroupOutput) ToGetListenerDefaultActionForwardTargetGroupOutputWithContext

func (o GetListenerDefaultActionForwardTargetGroupOutput) ToGetListenerDefaultActionForwardTargetGroupOutputWithContext(ctx context.Context) GetListenerDefaultActionForwardTargetGroupOutput

func (GetListenerDefaultActionForwardTargetGroupOutput) Weight

type GetListenerDefaultActionInput

type GetListenerDefaultActionInput interface {
	pulumi.Input

	ToGetListenerDefaultActionOutput() GetListenerDefaultActionOutput
	ToGetListenerDefaultActionOutputWithContext(context.Context) GetListenerDefaultActionOutput
}

GetListenerDefaultActionInput is an input type that accepts GetListenerDefaultActionArgs and GetListenerDefaultActionOutput values. You can construct a concrete instance of `GetListenerDefaultActionInput` via:

GetListenerDefaultActionArgs{...}

type GetListenerDefaultActionOutput

type GetListenerDefaultActionOutput struct{ *pulumi.OutputState }

func (GetListenerDefaultActionOutput) ElementType

func (GetListenerDefaultActionOutput) FixedResponses

func (GetListenerDefaultActionOutput) Forwards

func (GetListenerDefaultActionOutput) ToGetListenerDefaultActionOutput

func (o GetListenerDefaultActionOutput) ToGetListenerDefaultActionOutput() GetListenerDefaultActionOutput

func (GetListenerDefaultActionOutput) ToGetListenerDefaultActionOutputWithContext

func (o GetListenerDefaultActionOutput) ToGetListenerDefaultActionOutputWithContext(ctx context.Context) GetListenerDefaultActionOutput

type GetServiceDnsEntry

type GetServiceDnsEntry struct {
	DomainName   string `pulumi:"domainName"`
	HostedZoneId string `pulumi:"hostedZoneId"`
}

type GetServiceDnsEntryArgs

type GetServiceDnsEntryArgs struct {
	DomainName   pulumi.StringInput `pulumi:"domainName"`
	HostedZoneId pulumi.StringInput `pulumi:"hostedZoneId"`
}

func (GetServiceDnsEntryArgs) ElementType

func (GetServiceDnsEntryArgs) ElementType() reflect.Type

func (GetServiceDnsEntryArgs) ToGetServiceDnsEntryOutput

func (i GetServiceDnsEntryArgs) ToGetServiceDnsEntryOutput() GetServiceDnsEntryOutput

func (GetServiceDnsEntryArgs) ToGetServiceDnsEntryOutputWithContext

func (i GetServiceDnsEntryArgs) ToGetServiceDnsEntryOutputWithContext(ctx context.Context) GetServiceDnsEntryOutput

type GetServiceDnsEntryArray

type GetServiceDnsEntryArray []GetServiceDnsEntryInput

func (GetServiceDnsEntryArray) ElementType

func (GetServiceDnsEntryArray) ElementType() reflect.Type

func (GetServiceDnsEntryArray) ToGetServiceDnsEntryArrayOutput

func (i GetServiceDnsEntryArray) ToGetServiceDnsEntryArrayOutput() GetServiceDnsEntryArrayOutput

func (GetServiceDnsEntryArray) ToGetServiceDnsEntryArrayOutputWithContext

func (i GetServiceDnsEntryArray) ToGetServiceDnsEntryArrayOutputWithContext(ctx context.Context) GetServiceDnsEntryArrayOutput

type GetServiceDnsEntryArrayInput

type GetServiceDnsEntryArrayInput interface {
	pulumi.Input

	ToGetServiceDnsEntryArrayOutput() GetServiceDnsEntryArrayOutput
	ToGetServiceDnsEntryArrayOutputWithContext(context.Context) GetServiceDnsEntryArrayOutput
}

GetServiceDnsEntryArrayInput is an input type that accepts GetServiceDnsEntryArray and GetServiceDnsEntryArrayOutput values. You can construct a concrete instance of `GetServiceDnsEntryArrayInput` via:

GetServiceDnsEntryArray{ GetServiceDnsEntryArgs{...} }

type GetServiceDnsEntryArrayOutput

type GetServiceDnsEntryArrayOutput struct{ *pulumi.OutputState }

func (GetServiceDnsEntryArrayOutput) ElementType

func (GetServiceDnsEntryArrayOutput) Index

func (GetServiceDnsEntryArrayOutput) ToGetServiceDnsEntryArrayOutput

func (o GetServiceDnsEntryArrayOutput) ToGetServiceDnsEntryArrayOutput() GetServiceDnsEntryArrayOutput

func (GetServiceDnsEntryArrayOutput) ToGetServiceDnsEntryArrayOutputWithContext

func (o GetServiceDnsEntryArrayOutput) ToGetServiceDnsEntryArrayOutputWithContext(ctx context.Context) GetServiceDnsEntryArrayOutput

type GetServiceDnsEntryInput

type GetServiceDnsEntryInput interface {
	pulumi.Input

	ToGetServiceDnsEntryOutput() GetServiceDnsEntryOutput
	ToGetServiceDnsEntryOutputWithContext(context.Context) GetServiceDnsEntryOutput
}

GetServiceDnsEntryInput is an input type that accepts GetServiceDnsEntryArgs and GetServiceDnsEntryOutput values. You can construct a concrete instance of `GetServiceDnsEntryInput` via:

GetServiceDnsEntryArgs{...}

type GetServiceDnsEntryOutput

type GetServiceDnsEntryOutput struct{ *pulumi.OutputState }

func (GetServiceDnsEntryOutput) DomainName

func (GetServiceDnsEntryOutput) ElementType

func (GetServiceDnsEntryOutput) ElementType() reflect.Type

func (GetServiceDnsEntryOutput) HostedZoneId

func (o GetServiceDnsEntryOutput) HostedZoneId() pulumi.StringOutput

func (GetServiceDnsEntryOutput) ToGetServiceDnsEntryOutput

func (o GetServiceDnsEntryOutput) ToGetServiceDnsEntryOutput() GetServiceDnsEntryOutput

func (GetServiceDnsEntryOutput) ToGetServiceDnsEntryOutputWithContext

func (o GetServiceDnsEntryOutput) ToGetServiceDnsEntryOutputWithContext(ctx context.Context) GetServiceDnsEntryOutput

type Listener

type Listener struct {
	pulumi.CustomResourceState

	// ARN of the listener.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Date and time that the listener was created, specified in ISO-8601 format.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// Default action block for the default listener rule. Default action blocks are defined below.
	DefaultAction ListenerDefaultActionOutput `pulumi:"defaultAction"`
	LastUpdatedAt pulumi.StringOutput         `pulumi:"lastUpdatedAt"`
	// Standalone ID of the listener, e.g. `listener-0a1b2c3d4e5f6g`.
	ListenerId pulumi.StringOutput `pulumi:"listenerId"`
	// Name of the listener. A listener name must be unique within a service. Valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
	Name pulumi.StringOutput `pulumi:"name"`
	// Listener port. You can specify a value from 1 to 65535. If `port` is not specified and `protocol` is HTTP, the value will default to 80. If `port` is not specified and `protocol` is HTTPS, the value will default to 443.
	Port pulumi.IntOutput `pulumi:"port"`
	// Protocol for the listener. Supported values are `HTTP` or `HTTPS`
	Protocol pulumi.StringOutput `pulumi:"protocol"`
	// Amazon Resource Name (ARN) of the VPC Lattice service. You must include either the `serviceArn` or `serviceIdentifier` arguments.
	ServiceArn pulumi.StringOutput `pulumi:"serviceArn"`
	// ID of the VPC Lattice service. You must include either the `serviceArn` or `serviceIdentifier` arguments.
	// > **NOTE:** You must specify one of the following arguments: `serviceArn` or `serviceIdentifier`.
	ServiceIdentifier pulumi.StringOutput `pulumi:"serviceIdentifier"`
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Resource for managing an AWS VPC Lattice Listener.

## Example Usage

### Fixed response action

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/vpclattice"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := vpclattice.NewService(ctx, "example", &vpclattice.ServiceArgs{
			Name: pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		_, err = vpclattice.NewListener(ctx, "example", &vpclattice.ListenerArgs{
			Name:              pulumi.String("example"),
			Protocol:          pulumi.String("HTTPS"),
			ServiceIdentifier: example.ID(),
			DefaultAction: &vpclattice.ListenerDefaultActionArgs{
				FixedResponse: &vpclattice.ListenerDefaultActionFixedResponseArgs{
					StatusCode: pulumi.Int(404),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Forward action

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/vpclattice"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := vpclattice.NewService(ctx, "example", &vpclattice.ServiceArgs{
			Name: pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		exampleTargetGroup, err := vpclattice.NewTargetGroup(ctx, "example", &vpclattice.TargetGroupArgs{
			Name: pulumi.String("example-target-group-1"),
			Type: pulumi.String("INSTANCE"),
			Config: &vpclattice.TargetGroupConfigArgs{
				Port:          pulumi.Int(80),
				Protocol:      pulumi.String("HTTP"),
				VpcIdentifier: pulumi.Any(exampleAwsVpc.Id),
			},
		})
		if err != nil {
			return err
		}
		_, err = vpclattice.NewListener(ctx, "example", &vpclattice.ListenerArgs{
			Name:              pulumi.String("example"),
			Protocol:          pulumi.String("HTTP"),
			ServiceIdentifier: example.ID(),
			DefaultAction: &vpclattice.ListenerDefaultActionArgs{
				Forwards: vpclattice.ListenerDefaultActionForwardArray{
					&vpclattice.ListenerDefaultActionForwardArgs{
						TargetGroups: vpclattice.ListenerDefaultActionForwardTargetGroupArray{
							&vpclattice.ListenerDefaultActionForwardTargetGroupArgs{
								TargetGroupIdentifier: exampleTargetGroup.ID(),
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Forward action with weighted target groups

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/vpclattice"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := vpclattice.NewService(ctx, "example", &vpclattice.ServiceArgs{
			Name: pulumi.String("example"),
		})
		if err != nil {
			return err
		}
		example1, err := vpclattice.NewTargetGroup(ctx, "example1", &vpclattice.TargetGroupArgs{
			Name: pulumi.String("example-target-group-1"),
			Type: pulumi.String("INSTANCE"),
			Config: &vpclattice.TargetGroupConfigArgs{
				Port:          pulumi.Int(80),
				Protocol:      pulumi.String("HTTP"),
				VpcIdentifier: pulumi.Any(exampleAwsVpc.Id),
			},
		})
		if err != nil {
			return err
		}
		example2, err := vpclattice.NewTargetGroup(ctx, "example2", &vpclattice.TargetGroupArgs{
			Name: pulumi.String("example-target-group-2"),
			Type: pulumi.String("INSTANCE"),
			Config: &vpclattice.TargetGroupConfigArgs{
				Port:          pulumi.Int(8080),
				Protocol:      pulumi.String("HTTP"),
				VpcIdentifier: pulumi.Any(exampleAwsVpc.Id),
			},
		})
		if err != nil {
			return err
		}
		_, err = vpclattice.NewListener(ctx, "example", &vpclattice.ListenerArgs{
			Name:              pulumi.String("example"),
			Protocol:          pulumi.String("HTTP"),
			ServiceIdentifier: example.ID(),
			DefaultAction: &vpclattice.ListenerDefaultActionArgs{
				Forwards: vpclattice.ListenerDefaultActionForwardArray{
					&vpclattice.ListenerDefaultActionForwardArgs{
						TargetGroups: vpclattice.ListenerDefaultActionForwardTargetGroupArray{
							&vpclattice.ListenerDefaultActionForwardTargetGroupArgs{
								TargetGroupIdentifier: example1.ID(),
								Weight:                pulumi.Int(80),
							},
							&vpclattice.ListenerDefaultActionForwardTargetGroupArgs{
								TargetGroupIdentifier: example2.ID(),
								Weight:                pulumi.Int(20),
							},
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Using `pulumi import`, import VPC Lattice Listener using the `listener_id` of the listener and the `id` of the VPC Lattice service combined with a `/` character. For example:

```sh $ pulumi import aws:vpclattice/listener:Listener example svc-1a2b3c4d/listener-987654321 ```

func GetListener

func GetListener(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ListenerState, opts ...pulumi.ResourceOption) (*Listener, error)

GetListener gets an existing Listener 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 NewListener

func NewListener(ctx *pulumi.Context,
	name string, args *ListenerArgs, opts ...pulumi.ResourceOption) (*Listener, error)

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

func (*Listener) ElementType

func (*Listener) ElementType() reflect.Type

func (*Listener) ToListenerOutput

func (i *Listener) ToListenerOutput() ListenerOutput

func (*Listener) ToListenerOutputWithContext

func (i *Listener) ToListenerOutputWithContext(ctx context.Context) ListenerOutput

type ListenerArgs

type ListenerArgs struct {
	// Default action block for the default listener rule. Default action blocks are defined below.
	DefaultAction ListenerDefaultActionInput
	// Name of the listener. A listener name must be unique within a service. Valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
	Name pulumi.StringPtrInput
	// Listener port. You can specify a value from 1 to 65535. If `port` is not specified and `protocol` is HTTP, the value will default to 80. If `port` is not specified and `protocol` is HTTPS, the value will default to 443.
	Port pulumi.IntPtrInput
	// Protocol for the listener. Supported values are `HTTP` or `HTTPS`
	Protocol pulumi.StringInput
	// Amazon Resource Name (ARN) of the VPC Lattice service. You must include either the `serviceArn` or `serviceIdentifier` arguments.
	ServiceArn pulumi.StringPtrInput
	// ID of the VPC Lattice service. You must include either the `serviceArn` or `serviceIdentifier` arguments.
	// > **NOTE:** You must specify one of the following arguments: `serviceArn` or `serviceIdentifier`.
	ServiceIdentifier pulumi.StringPtrInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Listener resource.

func (ListenerArgs) ElementType

func (ListenerArgs) ElementType() reflect.Type

type ListenerArray

type ListenerArray []ListenerInput

func (ListenerArray) ElementType

func (ListenerArray) ElementType() reflect.Type

func (ListenerArray) ToListenerArrayOutput

func (i ListenerArray) ToListenerArrayOutput() ListenerArrayOutput

func (ListenerArray) ToListenerArrayOutputWithContext

func (i ListenerArray) ToListenerArrayOutputWithContext(ctx context.Context) ListenerArrayOutput

type ListenerArrayInput

type ListenerArrayInput interface {
	pulumi.Input

	ToListenerArrayOutput() ListenerArrayOutput
	ToListenerArrayOutputWithContext(context.Context) ListenerArrayOutput
}

ListenerArrayInput is an input type that accepts ListenerArray and ListenerArrayOutput values. You can construct a concrete instance of `ListenerArrayInput` via:

ListenerArray{ ListenerArgs{...} }

type ListenerArrayOutput

type ListenerArrayOutput struct{ *pulumi.OutputState }

func (ListenerArrayOutput) ElementType

func (ListenerArrayOutput) ElementType() reflect.Type

func (ListenerArrayOutput) Index

func (ListenerArrayOutput) ToListenerArrayOutput

func (o ListenerArrayOutput) ToListenerArrayOutput() ListenerArrayOutput

func (ListenerArrayOutput) ToListenerArrayOutputWithContext

func (o ListenerArrayOutput) ToListenerArrayOutputWithContext(ctx context.Context) ListenerArrayOutput

type ListenerDefaultAction

type ListenerDefaultAction struct {
	FixedResponse *ListenerDefaultActionFixedResponse `pulumi:"fixedResponse"`
	// Route requests to one or more target groups. See Forward blocks below.
	//
	// > **NOTE:** You must specify exactly one of the following argument blocks: `fixedResponse` or `forward`.
	Forwards []ListenerDefaultActionForward `pulumi:"forwards"`
}

type ListenerDefaultActionArgs

type ListenerDefaultActionArgs struct {
	FixedResponse ListenerDefaultActionFixedResponsePtrInput `pulumi:"fixedResponse"`
	// Route requests to one or more target groups. See Forward blocks below.
	//
	// > **NOTE:** You must specify exactly one of the following argument blocks: `fixedResponse` or `forward`.
	Forwards ListenerDefaultActionForwardArrayInput `pulumi:"forwards"`
}

func (ListenerDefaultActionArgs) ElementType

func (ListenerDefaultActionArgs) ElementType() reflect.Type

func (ListenerDefaultActionArgs) ToListenerDefaultActionOutput

func (i ListenerDefaultActionArgs) ToListenerDefaultActionOutput() ListenerDefaultActionOutput

func (ListenerDefaultActionArgs) ToListenerDefaultActionOutputWithContext

func (i ListenerDefaultActionArgs) ToListenerDefaultActionOutputWithContext(ctx context.Context) ListenerDefaultActionOutput

func (ListenerDefaultActionArgs) ToListenerDefaultActionPtrOutput

func (i ListenerDefaultActionArgs) ToListenerDefaultActionPtrOutput() ListenerDefaultActionPtrOutput

func (ListenerDefaultActionArgs) ToListenerDefaultActionPtrOutputWithContext

func (i ListenerDefaultActionArgs) ToListenerDefaultActionPtrOutputWithContext(ctx context.Context) ListenerDefaultActionPtrOutput

type ListenerDefaultActionFixedResponse

type ListenerDefaultActionFixedResponse struct {
	// Custom HTTP status code to return, e.g. a 404 response code. See [Listeners](https://docs.aws.amazon.com/vpc-lattice/latest/ug/listeners.html) in the AWS documentation for a list of supported codes.
	StatusCode int `pulumi:"statusCode"`
}

type ListenerDefaultActionFixedResponseArgs

type ListenerDefaultActionFixedResponseArgs struct {
	// Custom HTTP status code to return, e.g. a 404 response code. See [Listeners](https://docs.aws.amazon.com/vpc-lattice/latest/ug/listeners.html) in the AWS documentation for a list of supported codes.
	StatusCode pulumi.IntInput `pulumi:"statusCode"`
}

func (ListenerDefaultActionFixedResponseArgs) ElementType

func (ListenerDefaultActionFixedResponseArgs) ToListenerDefaultActionFixedResponseOutput

func (i ListenerDefaultActionFixedResponseArgs) ToListenerDefaultActionFixedResponseOutput() ListenerDefaultActionFixedResponseOutput

func (ListenerDefaultActionFixedResponseArgs) ToListenerDefaultActionFixedResponseOutputWithContext

func (i ListenerDefaultActionFixedResponseArgs) ToListenerDefaultActionFixedResponseOutputWithContext(ctx context.Context) ListenerDefaultActionFixedResponseOutput

func (ListenerDefaultActionFixedResponseArgs) ToListenerDefaultActionFixedResponsePtrOutput

func (i ListenerDefaultActionFixedResponseArgs) ToListenerDefaultActionFixedResponsePtrOutput() ListenerDefaultActionFixedResponsePtrOutput

func (ListenerDefaultActionFixedResponseArgs) ToListenerDefaultActionFixedResponsePtrOutputWithContext

func (i ListenerDefaultActionFixedResponseArgs) ToListenerDefaultActionFixedResponsePtrOutputWithContext(ctx context.Context) ListenerDefaultActionFixedResponsePtrOutput

type ListenerDefaultActionFixedResponseInput

type ListenerDefaultActionFixedResponseInput interface {
	pulumi.Input

	ToListenerDefaultActionFixedResponseOutput() ListenerDefaultActionFixedResponseOutput
	ToListenerDefaultActionFixedResponseOutputWithContext(context.Context) ListenerDefaultActionFixedResponseOutput
}

ListenerDefaultActionFixedResponseInput is an input type that accepts ListenerDefaultActionFixedResponseArgs and ListenerDefaultActionFixedResponseOutput values. You can construct a concrete instance of `ListenerDefaultActionFixedResponseInput` via:

ListenerDefaultActionFixedResponseArgs{...}

type ListenerDefaultActionFixedResponseOutput

type ListenerDefaultActionFixedResponseOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionFixedResponseOutput) ElementType

func (ListenerDefaultActionFixedResponseOutput) StatusCode

Custom HTTP status code to return, e.g. a 404 response code. See [Listeners](https://docs.aws.amazon.com/vpc-lattice/latest/ug/listeners.html) in the AWS documentation for a list of supported codes.

func (ListenerDefaultActionFixedResponseOutput) ToListenerDefaultActionFixedResponseOutput

func (o ListenerDefaultActionFixedResponseOutput) ToListenerDefaultActionFixedResponseOutput() ListenerDefaultActionFixedResponseOutput

func (ListenerDefaultActionFixedResponseOutput) ToListenerDefaultActionFixedResponseOutputWithContext

func (o ListenerDefaultActionFixedResponseOutput) ToListenerDefaultActionFixedResponseOutputWithContext(ctx context.Context) ListenerDefaultActionFixedResponseOutput

func (ListenerDefaultActionFixedResponseOutput) ToListenerDefaultActionFixedResponsePtrOutput

func (o ListenerDefaultActionFixedResponseOutput) ToListenerDefaultActionFixedResponsePtrOutput() ListenerDefaultActionFixedResponsePtrOutput

func (ListenerDefaultActionFixedResponseOutput) ToListenerDefaultActionFixedResponsePtrOutputWithContext

func (o ListenerDefaultActionFixedResponseOutput) ToListenerDefaultActionFixedResponsePtrOutputWithContext(ctx context.Context) ListenerDefaultActionFixedResponsePtrOutput

type ListenerDefaultActionFixedResponsePtrInput

type ListenerDefaultActionFixedResponsePtrInput interface {
	pulumi.Input

	ToListenerDefaultActionFixedResponsePtrOutput() ListenerDefaultActionFixedResponsePtrOutput
	ToListenerDefaultActionFixedResponsePtrOutputWithContext(context.Context) ListenerDefaultActionFixedResponsePtrOutput
}

ListenerDefaultActionFixedResponsePtrInput is an input type that accepts ListenerDefaultActionFixedResponseArgs, ListenerDefaultActionFixedResponsePtr and ListenerDefaultActionFixedResponsePtrOutput values. You can construct a concrete instance of `ListenerDefaultActionFixedResponsePtrInput` via:

        ListenerDefaultActionFixedResponseArgs{...}

or:

        nil

type ListenerDefaultActionFixedResponsePtrOutput

type ListenerDefaultActionFixedResponsePtrOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionFixedResponsePtrOutput) Elem

func (ListenerDefaultActionFixedResponsePtrOutput) ElementType

func (ListenerDefaultActionFixedResponsePtrOutput) StatusCode

Custom HTTP status code to return, e.g. a 404 response code. See [Listeners](https://docs.aws.amazon.com/vpc-lattice/latest/ug/listeners.html) in the AWS documentation for a list of supported codes.

func (ListenerDefaultActionFixedResponsePtrOutput) ToListenerDefaultActionFixedResponsePtrOutput

func (o ListenerDefaultActionFixedResponsePtrOutput) ToListenerDefaultActionFixedResponsePtrOutput() ListenerDefaultActionFixedResponsePtrOutput

func (ListenerDefaultActionFixedResponsePtrOutput) ToListenerDefaultActionFixedResponsePtrOutputWithContext

func (o ListenerDefaultActionFixedResponsePtrOutput) ToListenerDefaultActionFixedResponsePtrOutputWithContext(ctx context.Context) ListenerDefaultActionFixedResponsePtrOutput

type ListenerDefaultActionForward

type ListenerDefaultActionForward struct {
	// One or more target group blocks.
	TargetGroups []ListenerDefaultActionForwardTargetGroup `pulumi:"targetGroups"`
}

type ListenerDefaultActionForwardArgs

type ListenerDefaultActionForwardArgs struct {
	// One or more target group blocks.
	TargetGroups ListenerDefaultActionForwardTargetGroupArrayInput `pulumi:"targetGroups"`
}

func (ListenerDefaultActionForwardArgs) ElementType

func (ListenerDefaultActionForwardArgs) ToListenerDefaultActionForwardOutput

func (i ListenerDefaultActionForwardArgs) ToListenerDefaultActionForwardOutput() ListenerDefaultActionForwardOutput

func (ListenerDefaultActionForwardArgs) ToListenerDefaultActionForwardOutputWithContext

func (i ListenerDefaultActionForwardArgs) ToListenerDefaultActionForwardOutputWithContext(ctx context.Context) ListenerDefaultActionForwardOutput

type ListenerDefaultActionForwardArray

type ListenerDefaultActionForwardArray []ListenerDefaultActionForwardInput

func (ListenerDefaultActionForwardArray) ElementType

func (ListenerDefaultActionForwardArray) ToListenerDefaultActionForwardArrayOutput

func (i ListenerDefaultActionForwardArray) ToListenerDefaultActionForwardArrayOutput() ListenerDefaultActionForwardArrayOutput

func (ListenerDefaultActionForwardArray) ToListenerDefaultActionForwardArrayOutputWithContext

func (i ListenerDefaultActionForwardArray) ToListenerDefaultActionForwardArrayOutputWithContext(ctx context.Context) ListenerDefaultActionForwardArrayOutput

type ListenerDefaultActionForwardArrayInput

type ListenerDefaultActionForwardArrayInput interface {
	pulumi.Input

	ToListenerDefaultActionForwardArrayOutput() ListenerDefaultActionForwardArrayOutput
	ToListenerDefaultActionForwardArrayOutputWithContext(context.Context) ListenerDefaultActionForwardArrayOutput
}

ListenerDefaultActionForwardArrayInput is an input type that accepts ListenerDefaultActionForwardArray and ListenerDefaultActionForwardArrayOutput values. You can construct a concrete instance of `ListenerDefaultActionForwardArrayInput` via:

ListenerDefaultActionForwardArray{ ListenerDefaultActionForwardArgs{...} }

type ListenerDefaultActionForwardArrayOutput

type ListenerDefaultActionForwardArrayOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionForwardArrayOutput) ElementType

func (ListenerDefaultActionForwardArrayOutput) Index

func (ListenerDefaultActionForwardArrayOutput) ToListenerDefaultActionForwardArrayOutput

func (o ListenerDefaultActionForwardArrayOutput) ToListenerDefaultActionForwardArrayOutput() ListenerDefaultActionForwardArrayOutput

func (ListenerDefaultActionForwardArrayOutput) ToListenerDefaultActionForwardArrayOutputWithContext

func (o ListenerDefaultActionForwardArrayOutput) ToListenerDefaultActionForwardArrayOutputWithContext(ctx context.Context) ListenerDefaultActionForwardArrayOutput

type ListenerDefaultActionForwardInput

type ListenerDefaultActionForwardInput interface {
	pulumi.Input

	ToListenerDefaultActionForwardOutput() ListenerDefaultActionForwardOutput
	ToListenerDefaultActionForwardOutputWithContext(context.Context) ListenerDefaultActionForwardOutput
}

ListenerDefaultActionForwardInput is an input type that accepts ListenerDefaultActionForwardArgs and ListenerDefaultActionForwardOutput values. You can construct a concrete instance of `ListenerDefaultActionForwardInput` via:

ListenerDefaultActionForwardArgs{...}

type ListenerDefaultActionForwardOutput

type ListenerDefaultActionForwardOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionForwardOutput) ElementType

func (ListenerDefaultActionForwardOutput) TargetGroups

One or more target group blocks.

func (ListenerDefaultActionForwardOutput) ToListenerDefaultActionForwardOutput

func (o ListenerDefaultActionForwardOutput) ToListenerDefaultActionForwardOutput() ListenerDefaultActionForwardOutput

func (ListenerDefaultActionForwardOutput) ToListenerDefaultActionForwardOutputWithContext

func (o ListenerDefaultActionForwardOutput) ToListenerDefaultActionForwardOutputWithContext(ctx context.Context) ListenerDefaultActionForwardOutput

type ListenerDefaultActionForwardTargetGroup

type ListenerDefaultActionForwardTargetGroup struct {
	// ID or Amazon Resource Name (ARN) of the target group.
	TargetGroupIdentifier *string `pulumi:"targetGroupIdentifier"`
	// Determines how requests are distributed to the target group. Only required if you specify multiple target groups for a forward action. For example, if you specify two target groups, one with a
	// weight of 10 and the other with a weight of 20, the target group with a weight of 20 receives twice as many requests as the other target group. See [Listener rules](https://docs.aws.amazon.com/vpc-lattice/latest/ug/listeners.html#listener-rules) in the AWS documentation for additional examples. Default: `100`.
	Weight *int `pulumi:"weight"`
}

type ListenerDefaultActionForwardTargetGroupArgs

type ListenerDefaultActionForwardTargetGroupArgs struct {
	// ID or Amazon Resource Name (ARN) of the target group.
	TargetGroupIdentifier pulumi.StringPtrInput `pulumi:"targetGroupIdentifier"`
	// Determines how requests are distributed to the target group. Only required if you specify multiple target groups for a forward action. For example, if you specify two target groups, one with a
	// weight of 10 and the other with a weight of 20, the target group with a weight of 20 receives twice as many requests as the other target group. See [Listener rules](https://docs.aws.amazon.com/vpc-lattice/latest/ug/listeners.html#listener-rules) in the AWS documentation for additional examples. Default: `100`.
	Weight pulumi.IntPtrInput `pulumi:"weight"`
}

func (ListenerDefaultActionForwardTargetGroupArgs) ElementType

func (ListenerDefaultActionForwardTargetGroupArgs) ToListenerDefaultActionForwardTargetGroupOutput

func (i ListenerDefaultActionForwardTargetGroupArgs) ToListenerDefaultActionForwardTargetGroupOutput() ListenerDefaultActionForwardTargetGroupOutput

func (ListenerDefaultActionForwardTargetGroupArgs) ToListenerDefaultActionForwardTargetGroupOutputWithContext

func (i ListenerDefaultActionForwardTargetGroupArgs) ToListenerDefaultActionForwardTargetGroupOutputWithContext(ctx context.Context) ListenerDefaultActionForwardTargetGroupOutput

type ListenerDefaultActionForwardTargetGroupArray

type ListenerDefaultActionForwardTargetGroupArray []ListenerDefaultActionForwardTargetGroupInput

func (ListenerDefaultActionForwardTargetGroupArray) ElementType

func (ListenerDefaultActionForwardTargetGroupArray) ToListenerDefaultActionForwardTargetGroupArrayOutput

func (i ListenerDefaultActionForwardTargetGroupArray) ToListenerDefaultActionForwardTargetGroupArrayOutput() ListenerDefaultActionForwardTargetGroupArrayOutput

func (ListenerDefaultActionForwardTargetGroupArray) ToListenerDefaultActionForwardTargetGroupArrayOutputWithContext

func (i ListenerDefaultActionForwardTargetGroupArray) ToListenerDefaultActionForwardTargetGroupArrayOutputWithContext(ctx context.Context) ListenerDefaultActionForwardTargetGroupArrayOutput

type ListenerDefaultActionForwardTargetGroupArrayInput

type ListenerDefaultActionForwardTargetGroupArrayInput interface {
	pulumi.Input

	ToListenerDefaultActionForwardTargetGroupArrayOutput() ListenerDefaultActionForwardTargetGroupArrayOutput
	ToListenerDefaultActionForwardTargetGroupArrayOutputWithContext(context.Context) ListenerDefaultActionForwardTargetGroupArrayOutput
}

ListenerDefaultActionForwardTargetGroupArrayInput is an input type that accepts ListenerDefaultActionForwardTargetGroupArray and ListenerDefaultActionForwardTargetGroupArrayOutput values. You can construct a concrete instance of `ListenerDefaultActionForwardTargetGroupArrayInput` via:

ListenerDefaultActionForwardTargetGroupArray{ ListenerDefaultActionForwardTargetGroupArgs{...} }

type ListenerDefaultActionForwardTargetGroupArrayOutput

type ListenerDefaultActionForwardTargetGroupArrayOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionForwardTargetGroupArrayOutput) ElementType

func (ListenerDefaultActionForwardTargetGroupArrayOutput) Index

func (ListenerDefaultActionForwardTargetGroupArrayOutput) ToListenerDefaultActionForwardTargetGroupArrayOutput

func (o ListenerDefaultActionForwardTargetGroupArrayOutput) ToListenerDefaultActionForwardTargetGroupArrayOutput() ListenerDefaultActionForwardTargetGroupArrayOutput

func (ListenerDefaultActionForwardTargetGroupArrayOutput) ToListenerDefaultActionForwardTargetGroupArrayOutputWithContext

func (o ListenerDefaultActionForwardTargetGroupArrayOutput) ToListenerDefaultActionForwardTargetGroupArrayOutputWithContext(ctx context.Context) ListenerDefaultActionForwardTargetGroupArrayOutput

type ListenerDefaultActionForwardTargetGroupInput

type ListenerDefaultActionForwardTargetGroupInput interface {
	pulumi.Input

	ToListenerDefaultActionForwardTargetGroupOutput() ListenerDefaultActionForwardTargetGroupOutput
	ToListenerDefaultActionForwardTargetGroupOutputWithContext(context.Context) ListenerDefaultActionForwardTargetGroupOutput
}

ListenerDefaultActionForwardTargetGroupInput is an input type that accepts ListenerDefaultActionForwardTargetGroupArgs and ListenerDefaultActionForwardTargetGroupOutput values. You can construct a concrete instance of `ListenerDefaultActionForwardTargetGroupInput` via:

ListenerDefaultActionForwardTargetGroupArgs{...}

type ListenerDefaultActionForwardTargetGroupOutput

type ListenerDefaultActionForwardTargetGroupOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionForwardTargetGroupOutput) ElementType

func (ListenerDefaultActionForwardTargetGroupOutput) TargetGroupIdentifier

ID or Amazon Resource Name (ARN) of the target group.

func (ListenerDefaultActionForwardTargetGroupOutput) ToListenerDefaultActionForwardTargetGroupOutput

func (o ListenerDefaultActionForwardTargetGroupOutput) ToListenerDefaultActionForwardTargetGroupOutput() ListenerDefaultActionForwardTargetGroupOutput

func (ListenerDefaultActionForwardTargetGroupOutput) ToListenerDefaultActionForwardTargetGroupOutputWithContext

func (o ListenerDefaultActionForwardTargetGroupOutput) ToListenerDefaultActionForwardTargetGroupOutputWithContext(ctx context.Context) ListenerDefaultActionForwardTargetGroupOutput

func (ListenerDefaultActionForwardTargetGroupOutput) Weight

Determines how requests are distributed to the target group. Only required if you specify multiple target groups for a forward action. For example, if you specify two target groups, one with a weight of 10 and the other with a weight of 20, the target group with a weight of 20 receives twice as many requests as the other target group. See [Listener rules](https://docs.aws.amazon.com/vpc-lattice/latest/ug/listeners.html#listener-rules) in the AWS documentation for additional examples. Default: `100`.

type ListenerDefaultActionInput

type ListenerDefaultActionInput interface {
	pulumi.Input

	ToListenerDefaultActionOutput() ListenerDefaultActionOutput
	ToListenerDefaultActionOutputWithContext(context.Context) ListenerDefaultActionOutput
}

ListenerDefaultActionInput is an input type that accepts ListenerDefaultActionArgs and ListenerDefaultActionOutput values. You can construct a concrete instance of `ListenerDefaultActionInput` via:

ListenerDefaultActionArgs{...}

type ListenerDefaultActionOutput

type ListenerDefaultActionOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionOutput) ElementType

func (ListenerDefaultActionOutput) FixedResponse

func (ListenerDefaultActionOutput) Forwards

Route requests to one or more target groups. See Forward blocks below.

> **NOTE:** You must specify exactly one of the following argument blocks: `fixedResponse` or `forward`.

func (ListenerDefaultActionOutput) ToListenerDefaultActionOutput

func (o ListenerDefaultActionOutput) ToListenerDefaultActionOutput() ListenerDefaultActionOutput

func (ListenerDefaultActionOutput) ToListenerDefaultActionOutputWithContext

func (o ListenerDefaultActionOutput) ToListenerDefaultActionOutputWithContext(ctx context.Context) ListenerDefaultActionOutput

func (ListenerDefaultActionOutput) ToListenerDefaultActionPtrOutput

func (o ListenerDefaultActionOutput) ToListenerDefaultActionPtrOutput() ListenerDefaultActionPtrOutput

func (ListenerDefaultActionOutput) ToListenerDefaultActionPtrOutputWithContext

func (o ListenerDefaultActionOutput) ToListenerDefaultActionPtrOutputWithContext(ctx context.Context) ListenerDefaultActionPtrOutput

type ListenerDefaultActionPtrInput

type ListenerDefaultActionPtrInput interface {
	pulumi.Input

	ToListenerDefaultActionPtrOutput() ListenerDefaultActionPtrOutput
	ToListenerDefaultActionPtrOutputWithContext(context.Context) ListenerDefaultActionPtrOutput
}

ListenerDefaultActionPtrInput is an input type that accepts ListenerDefaultActionArgs, ListenerDefaultActionPtr and ListenerDefaultActionPtrOutput values. You can construct a concrete instance of `ListenerDefaultActionPtrInput` via:

        ListenerDefaultActionArgs{...}

or:

        nil

type ListenerDefaultActionPtrOutput

type ListenerDefaultActionPtrOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionPtrOutput) Elem

func (ListenerDefaultActionPtrOutput) ElementType

func (ListenerDefaultActionPtrOutput) FixedResponse

func (ListenerDefaultActionPtrOutput) Forwards

Route requests to one or more target groups. See Forward blocks below.

> **NOTE:** You must specify exactly one of the following argument blocks: `fixedResponse` or `forward`.

func (ListenerDefaultActionPtrOutput) ToListenerDefaultActionPtrOutput

func (o ListenerDefaultActionPtrOutput) ToListenerDefaultActionPtrOutput() ListenerDefaultActionPtrOutput

func (ListenerDefaultActionPtrOutput) ToListenerDefaultActionPtrOutputWithContext

func (o ListenerDefaultActionPtrOutput) ToListenerDefaultActionPtrOutputWithContext(ctx context.Context) ListenerDefaultActionPtrOutput

type ListenerInput

type ListenerInput interface {
	pulumi.Input

	ToListenerOutput() ListenerOutput
	ToListenerOutputWithContext(ctx context.Context) ListenerOutput
}

type ListenerMap

type ListenerMap map[string]ListenerInput

func (ListenerMap) ElementType

func (ListenerMap) ElementType() reflect.Type

func (ListenerMap) ToListenerMapOutput

func (i ListenerMap) ToListenerMapOutput() ListenerMapOutput

func (ListenerMap) ToListenerMapOutputWithContext

func (i ListenerMap) ToListenerMapOutputWithContext(ctx context.Context) ListenerMapOutput

type ListenerMapInput

type ListenerMapInput interface {
	pulumi.Input

	ToListenerMapOutput() ListenerMapOutput
	ToListenerMapOutputWithContext(context.Context) ListenerMapOutput
}

ListenerMapInput is an input type that accepts ListenerMap and ListenerMapOutput values. You can construct a concrete instance of `ListenerMapInput` via:

ListenerMap{ "key": ListenerArgs{...} }

type ListenerMapOutput

type ListenerMapOutput struct{ *pulumi.OutputState }

func (ListenerMapOutput) ElementType

func (ListenerMapOutput) ElementType() reflect.Type

func (ListenerMapOutput) MapIndex

func (ListenerMapOutput) ToListenerMapOutput

func (o ListenerMapOutput) ToListenerMapOutput() ListenerMapOutput

func (ListenerMapOutput) ToListenerMapOutputWithContext

func (o ListenerMapOutput) ToListenerMapOutputWithContext(ctx context.Context) ListenerMapOutput

type ListenerOutput

type ListenerOutput struct{ *pulumi.OutputState }

func (ListenerOutput) Arn

ARN of the listener.

func (ListenerOutput) CreatedAt

func (o ListenerOutput) CreatedAt() pulumi.StringOutput

Date and time that the listener was created, specified in ISO-8601 format.

func (ListenerOutput) DefaultAction

func (o ListenerOutput) DefaultAction() ListenerDefaultActionOutput

Default action block for the default listener rule. Default action blocks are defined below.

func (ListenerOutput) ElementType

func (ListenerOutput) ElementType() reflect.Type

func (ListenerOutput) LastUpdatedAt

func (o ListenerOutput) LastUpdatedAt() pulumi.StringOutput

func (ListenerOutput) ListenerId

func (o ListenerOutput) ListenerId() pulumi.StringOutput

Standalone ID of the listener, e.g. `listener-0a1b2c3d4e5f6g`.

func (ListenerOutput) Name

Name of the listener. A listener name must be unique within a service. Valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.

func (ListenerOutput) Port

func (o ListenerOutput) Port() pulumi.IntOutput

Listener port. You can specify a value from 1 to 65535. If `port` is not specified and `protocol` is HTTP, the value will default to 80. If `port` is not specified and `protocol` is HTTPS, the value will default to 443.

func (ListenerOutput) Protocol

func (o ListenerOutput) Protocol() pulumi.StringOutput

Protocol for the listener. Supported values are `HTTP` or `HTTPS`

func (ListenerOutput) ServiceArn

func (o ListenerOutput) ServiceArn() pulumi.StringOutput

Amazon Resource Name (ARN) of the VPC Lattice service. You must include either the `serviceArn` or `serviceIdentifier` arguments.

func (ListenerOutput) ServiceIdentifier

func (o ListenerOutput) ServiceIdentifier() pulumi.StringOutput

ID of the VPC Lattice service. You must include either the `serviceArn` or `serviceIdentifier` arguments. > **NOTE:** You must specify one of the following arguments: `serviceArn` or `serviceIdentifier`.

func (ListenerOutput) Tags

A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (ListenerOutput) TagsAll deprecated

Deprecated: Please use `tags` instead.

func (ListenerOutput) ToListenerOutput

func (o ListenerOutput) ToListenerOutput() ListenerOutput

func (ListenerOutput) ToListenerOutputWithContext

func (o ListenerOutput) ToListenerOutputWithContext(ctx context.Context) ListenerOutput

type ListenerRule

type ListenerRule struct {
	pulumi.CustomResourceState

	// The action for the listener rule.
	Action ListenerRuleActionOutput `pulumi:"action"`
	// The ARN for the listener rule.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The ID or Amazon Resource Name (ARN) of the listener.
	ListenerIdentifier pulumi.StringOutput `pulumi:"listenerIdentifier"`
	// The rule match.
	Match ListenerRuleMatchOutput `pulumi:"match"`
	// The name of the rule. The name must be unique within the listener. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
	Name pulumi.StringOutput `pulumi:"name"`
	// The priority assigned to the rule. Each rule for a specific listener must have a unique priority. The lower the priority number the higher the priority.
	//
	// The following arguments are optional:
	Priority pulumi.IntOutput `pulumi:"priority"`
	// Unique identifier for the listener rule.
	RuleId pulumi.StringOutput `pulumi:"ruleId"`
	// The ID or Amazon Resource Identifier (ARN) of the service.
	ServiceIdentifier pulumi.StringOutput `pulumi:"serviceIdentifier"`
	// Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Resource for managing an AWS VPC Lattice Listener Rule.

## Example Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/vpclattice"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpclattice.NewListenerRule(ctx, "test", &vpclattice.ListenerRuleArgs{
			Name:               pulumi.String("example"),
			ListenerIdentifier: pulumi.Any(exampleAwsVpclatticeListener.ListenerId),
			ServiceIdentifier:  pulumi.Any(exampleAwsVpclatticeService.Id),
			Priority:           pulumi.Int(20),
			Match: &vpclattice.ListenerRuleMatchArgs{
				HttpMatch: &vpclattice.ListenerRuleMatchHttpMatchArgs{
					HeaderMatches: vpclattice.ListenerRuleMatchHttpMatchHeaderMatchArray{
						&vpclattice.ListenerRuleMatchHttpMatchHeaderMatchArgs{
							Name:          pulumi.String("example-header"),
							CaseSensitive: pulumi.Bool(false),
							Match: &vpclattice.ListenerRuleMatchHttpMatchHeaderMatchMatchArgs{
								Exact: pulumi.String("example-contains"),
							},
						},
					},
					PathMatch: &vpclattice.ListenerRuleMatchHttpMatchPathMatchArgs{
						CaseSensitive: pulumi.Bool(true),
						Match: &vpclattice.ListenerRuleMatchHttpMatchPathMatchMatchArgs{
							Prefix: pulumi.String("/example-path"),
						},
					},
				},
			},
			Action: &vpclattice.ListenerRuleActionArgs{
				Forward: &vpclattice.ListenerRuleActionForwardArgs{
					TargetGroups: vpclattice.ListenerRuleActionForwardTargetGroupArray{
						&vpclattice.ListenerRuleActionForwardTargetGroupArgs{
							TargetGroupIdentifier: pulumi.Any(example.Id),
							Weight:                pulumi.Int(1),
						},
						&vpclattice.ListenerRuleActionForwardTargetGroupArgs{
							TargetGroupIdentifier: pulumi.Any(example2.Id),
							Weight:                pulumi.Int(2),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Basic Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/vpclattice"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpclattice.NewListenerRule(ctx, "test", &vpclattice.ListenerRuleArgs{
			Name:               pulumi.String("example"),
			ListenerIdentifier: pulumi.Any(example.ListenerId),
			ServiceIdentifier:  pulumi.Any(exampleAwsVpclatticeService.Id),
			Priority:           pulumi.Int(10),
			Match: &vpclattice.ListenerRuleMatchArgs{
				HttpMatch: &vpclattice.ListenerRuleMatchHttpMatchArgs{
					PathMatch: &vpclattice.ListenerRuleMatchHttpMatchPathMatchArgs{
						CaseSensitive: pulumi.Bool(false),
						Match: &vpclattice.ListenerRuleMatchHttpMatchPathMatchMatchArgs{
							Exact: pulumi.String("/example-path"),
						},
					},
				},
			},
			Action: &vpclattice.ListenerRuleActionArgs{
				FixedResponse: &vpclattice.ListenerRuleActionFixedResponseArgs{
					StatusCode: pulumi.Int(404),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Using `pulumi import`, import VPC Lattice Listener Rule using the `id`. For example:

```sh $ pulumi import aws:vpclattice/listenerRule:ListenerRule example service123/listener456/rule789 ```

func GetListenerRule

func GetListenerRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ListenerRuleState, opts ...pulumi.ResourceOption) (*ListenerRule, error)

GetListenerRule gets an existing ListenerRule 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 NewListenerRule

func NewListenerRule(ctx *pulumi.Context,
	name string, args *ListenerRuleArgs, opts ...pulumi.ResourceOption) (*ListenerRule, error)

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

func (*ListenerRule) ElementType

func (*ListenerRule) ElementType() reflect.Type

func (*ListenerRule) ToListenerRuleOutput

func (i *ListenerRule) ToListenerRuleOutput() ListenerRuleOutput

func (*ListenerRule) ToListenerRuleOutputWithContext

func (i *ListenerRule) ToListenerRuleOutputWithContext(ctx context.Context) ListenerRuleOutput

type ListenerRuleAction

type ListenerRuleAction struct {
	// Describes the rule action that returns a custom HTTP response.
	FixedResponse *ListenerRuleActionFixedResponse `pulumi:"fixedResponse"`
	// The forward action. Traffic that matches the rule is forwarded to the specified target groups.
	Forward *ListenerRuleActionForward `pulumi:"forward"`
}

type ListenerRuleActionArgs

type ListenerRuleActionArgs struct {
	// Describes the rule action that returns a custom HTTP response.
	FixedResponse ListenerRuleActionFixedResponsePtrInput `pulumi:"fixedResponse"`
	// The forward action. Traffic that matches the rule is forwarded to the specified target groups.
	Forward ListenerRuleActionForwardPtrInput `pulumi:"forward"`
}

func (ListenerRuleActionArgs) ElementType

func (ListenerRuleActionArgs) ElementType() reflect.Type

func (ListenerRuleActionArgs) ToListenerRuleActionOutput

func (i ListenerRuleActionArgs) ToListenerRuleActionOutput() ListenerRuleActionOutput

func (ListenerRuleActionArgs) ToListenerRuleActionOutputWithContext

func (i ListenerRuleActionArgs) ToListenerRuleActionOutputWithContext(ctx context.Context) ListenerRuleActionOutput

func (ListenerRuleActionArgs) ToListenerRuleActionPtrOutput

func (i ListenerRuleActionArgs) ToListenerRuleActionPtrOutput() ListenerRuleActionPtrOutput

func (ListenerRuleActionArgs) ToListenerRuleActionPtrOutputWithContext

func (i ListenerRuleActionArgs) ToListenerRuleActionPtrOutputWithContext(ctx context.Context) ListenerRuleActionPtrOutput

type ListenerRuleActionFixedResponse

type ListenerRuleActionFixedResponse struct {
	// The HTTP response code.
	StatusCode int `pulumi:"statusCode"`
}

type ListenerRuleActionFixedResponseArgs

type ListenerRuleActionFixedResponseArgs struct {
	// The HTTP response code.
	StatusCode pulumi.IntInput `pulumi:"statusCode"`
}

func (ListenerRuleActionFixedResponseArgs) ElementType

func (ListenerRuleActionFixedResponseArgs) ToListenerRuleActionFixedResponseOutput

func (i ListenerRuleActionFixedResponseArgs) ToListenerRuleActionFixedResponseOutput() ListenerRuleActionFixedResponseOutput

func (ListenerRuleActionFixedResponseArgs) ToListenerRuleActionFixedResponseOutputWithContext

func (i ListenerRuleActionFixedResponseArgs) ToListenerRuleActionFixedResponseOutputWithContext(ctx context.Context) ListenerRuleActionFixedResponseOutput

func (ListenerRuleActionFixedResponseArgs) ToListenerRuleActionFixedResponsePtrOutput

func (i ListenerRuleActionFixedResponseArgs) ToListenerRuleActionFixedResponsePtrOutput() ListenerRuleActionFixedResponsePtrOutput

func (ListenerRuleActionFixedResponseArgs) ToListenerRuleActionFixedResponsePtrOutputWithContext

func (i ListenerRuleActionFixedResponseArgs) ToListenerRuleActionFixedResponsePtrOutputWithContext(ctx context.Context) ListenerRuleActionFixedResponsePtrOutput

type ListenerRuleActionFixedResponseInput

type ListenerRuleActionFixedResponseInput interface {
	pulumi.Input

	ToListenerRuleActionFixedResponseOutput() ListenerRuleActionFixedResponseOutput
	ToListenerRuleActionFixedResponseOutputWithContext(context.Context) ListenerRuleActionFixedResponseOutput
}

ListenerRuleActionFixedResponseInput is an input type that accepts ListenerRuleActionFixedResponseArgs and ListenerRuleActionFixedResponseOutput values. You can construct a concrete instance of `ListenerRuleActionFixedResponseInput` via:

ListenerRuleActionFixedResponseArgs{...}

type ListenerRuleActionFixedResponseOutput

type ListenerRuleActionFixedResponseOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionFixedResponseOutput) ElementType

func (ListenerRuleActionFixedResponseOutput) StatusCode

The HTTP response code.

func (ListenerRuleActionFixedResponseOutput) ToListenerRuleActionFixedResponseOutput

func (o ListenerRuleActionFixedResponseOutput) ToListenerRuleActionFixedResponseOutput() ListenerRuleActionFixedResponseOutput

func (ListenerRuleActionFixedResponseOutput) ToListenerRuleActionFixedResponseOutputWithContext

func (o ListenerRuleActionFixedResponseOutput) ToListenerRuleActionFixedResponseOutputWithContext(ctx context.Context) ListenerRuleActionFixedResponseOutput

func (ListenerRuleActionFixedResponseOutput) ToListenerRuleActionFixedResponsePtrOutput

func (o ListenerRuleActionFixedResponseOutput) ToListenerRuleActionFixedResponsePtrOutput() ListenerRuleActionFixedResponsePtrOutput

func (ListenerRuleActionFixedResponseOutput) ToListenerRuleActionFixedResponsePtrOutputWithContext

func (o ListenerRuleActionFixedResponseOutput) ToListenerRuleActionFixedResponsePtrOutputWithContext(ctx context.Context) ListenerRuleActionFixedResponsePtrOutput

type ListenerRuleActionFixedResponsePtrInput

type ListenerRuleActionFixedResponsePtrInput interface {
	pulumi.Input

	ToListenerRuleActionFixedResponsePtrOutput() ListenerRuleActionFixedResponsePtrOutput
	ToListenerRuleActionFixedResponsePtrOutputWithContext(context.Context) ListenerRuleActionFixedResponsePtrOutput
}

ListenerRuleActionFixedResponsePtrInput is an input type that accepts ListenerRuleActionFixedResponseArgs, ListenerRuleActionFixedResponsePtr and ListenerRuleActionFixedResponsePtrOutput values. You can construct a concrete instance of `ListenerRuleActionFixedResponsePtrInput` via:

        ListenerRuleActionFixedResponseArgs{...}

or:

        nil

type ListenerRuleActionFixedResponsePtrOutput

type ListenerRuleActionFixedResponsePtrOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionFixedResponsePtrOutput) Elem

func (ListenerRuleActionFixedResponsePtrOutput) ElementType

func (ListenerRuleActionFixedResponsePtrOutput) StatusCode

The HTTP response code.

func (ListenerRuleActionFixedResponsePtrOutput) ToListenerRuleActionFixedResponsePtrOutput

func (o ListenerRuleActionFixedResponsePtrOutput) ToListenerRuleActionFixedResponsePtrOutput() ListenerRuleActionFixedResponsePtrOutput

func (ListenerRuleActionFixedResponsePtrOutput) ToListenerRuleActionFixedResponsePtrOutputWithContext

func (o ListenerRuleActionFixedResponsePtrOutput) ToListenerRuleActionFixedResponsePtrOutputWithContext(ctx context.Context) ListenerRuleActionFixedResponsePtrOutput

type ListenerRuleActionForward

type ListenerRuleActionForward struct {
	// The target groups. Traffic matching the rule is forwarded to the specified target groups. With forward actions, you can assign a weight that controls the prioritization and selection of each target group. This means that requests are distributed to individual target groups based on their weights. For example, if two target groups have the same weight, each target group receives half of the traffic.
	//
	// The default value is 1 with maximum number of 2. If only one target group is provided, there is no need to set the weight; 100% of traffic will go to that target group.
	TargetGroups []ListenerRuleActionForwardTargetGroup `pulumi:"targetGroups"`
}

type ListenerRuleActionForwardArgs

type ListenerRuleActionForwardArgs struct {
	// The target groups. Traffic matching the rule is forwarded to the specified target groups. With forward actions, you can assign a weight that controls the prioritization and selection of each target group. This means that requests are distributed to individual target groups based on their weights. For example, if two target groups have the same weight, each target group receives half of the traffic.
	//
	// The default value is 1 with maximum number of 2. If only one target group is provided, there is no need to set the weight; 100% of traffic will go to that target group.
	TargetGroups ListenerRuleActionForwardTargetGroupArrayInput `pulumi:"targetGroups"`
}

func (ListenerRuleActionForwardArgs) ElementType

func (ListenerRuleActionForwardArgs) ToListenerRuleActionForwardOutput

func (i ListenerRuleActionForwardArgs) ToListenerRuleActionForwardOutput() ListenerRuleActionForwardOutput

func (ListenerRuleActionForwardArgs) ToListenerRuleActionForwardOutputWithContext

func (i ListenerRuleActionForwardArgs) ToListenerRuleActionForwardOutputWithContext(ctx context.Context) ListenerRuleActionForwardOutput

func (ListenerRuleActionForwardArgs) ToListenerRuleActionForwardPtrOutput

func (i ListenerRuleActionForwardArgs) ToListenerRuleActionForwardPtrOutput() ListenerRuleActionForwardPtrOutput

func (ListenerRuleActionForwardArgs) ToListenerRuleActionForwardPtrOutputWithContext

func (i ListenerRuleActionForwardArgs) ToListenerRuleActionForwardPtrOutputWithContext(ctx context.Context) ListenerRuleActionForwardPtrOutput

type ListenerRuleActionForwardInput

type ListenerRuleActionForwardInput interface {
	pulumi.Input

	ToListenerRuleActionForwardOutput() ListenerRuleActionForwardOutput
	ToListenerRuleActionForwardOutputWithContext(context.Context) ListenerRuleActionForwardOutput
}

ListenerRuleActionForwardInput is an input type that accepts ListenerRuleActionForwardArgs and ListenerRuleActionForwardOutput values. You can construct a concrete instance of `ListenerRuleActionForwardInput` via:

ListenerRuleActionForwardArgs{...}

type ListenerRuleActionForwardOutput

type ListenerRuleActionForwardOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionForwardOutput) ElementType

func (ListenerRuleActionForwardOutput) TargetGroups

The target groups. Traffic matching the rule is forwarded to the specified target groups. With forward actions, you can assign a weight that controls the prioritization and selection of each target group. This means that requests are distributed to individual target groups based on their weights. For example, if two target groups have the same weight, each target group receives half of the traffic.

The default value is 1 with maximum number of 2. If only one target group is provided, there is no need to set the weight; 100% of traffic will go to that target group.

func (ListenerRuleActionForwardOutput) ToListenerRuleActionForwardOutput

func (o ListenerRuleActionForwardOutput) ToListenerRuleActionForwardOutput() ListenerRuleActionForwardOutput

func (ListenerRuleActionForwardOutput) ToListenerRuleActionForwardOutputWithContext

func (o ListenerRuleActionForwardOutput) ToListenerRuleActionForwardOutputWithContext(ctx context.Context) ListenerRuleActionForwardOutput

func (ListenerRuleActionForwardOutput) ToListenerRuleActionForwardPtrOutput

func (o ListenerRuleActionForwardOutput) ToListenerRuleActionForwardPtrOutput() ListenerRuleActionForwardPtrOutput

func (ListenerRuleActionForwardOutput) ToListenerRuleActionForwardPtrOutputWithContext

func (o ListenerRuleActionForwardOutput) ToListenerRuleActionForwardPtrOutputWithContext(ctx context.Context) ListenerRuleActionForwardPtrOutput

type ListenerRuleActionForwardPtrInput

type ListenerRuleActionForwardPtrInput interface {
	pulumi.Input

	ToListenerRuleActionForwardPtrOutput() ListenerRuleActionForwardPtrOutput
	ToListenerRuleActionForwardPtrOutputWithContext(context.Context) ListenerRuleActionForwardPtrOutput
}

ListenerRuleActionForwardPtrInput is an input type that accepts ListenerRuleActionForwardArgs, ListenerRuleActionForwardPtr and ListenerRuleActionForwardPtrOutput values. You can construct a concrete instance of `ListenerRuleActionForwardPtrInput` via:

        ListenerRuleActionForwardArgs{...}

or:

        nil

type ListenerRuleActionForwardPtrOutput

type ListenerRuleActionForwardPtrOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionForwardPtrOutput) Elem

func (ListenerRuleActionForwardPtrOutput) ElementType

func (ListenerRuleActionForwardPtrOutput) TargetGroups

The target groups. Traffic matching the rule is forwarded to the specified target groups. With forward actions, you can assign a weight that controls the prioritization and selection of each target group. This means that requests are distributed to individual target groups based on their weights. For example, if two target groups have the same weight, each target group receives half of the traffic.

The default value is 1 with maximum number of 2. If only one target group is provided, there is no need to set the weight; 100% of traffic will go to that target group.

func (ListenerRuleActionForwardPtrOutput) ToListenerRuleActionForwardPtrOutput

func (o ListenerRuleActionForwardPtrOutput) ToListenerRuleActionForwardPtrOutput() ListenerRuleActionForwardPtrOutput

func (ListenerRuleActionForwardPtrOutput) ToListenerRuleActionForwardPtrOutputWithContext

func (o ListenerRuleActionForwardPtrOutput) ToListenerRuleActionForwardPtrOutputWithContext(ctx context.Context) ListenerRuleActionForwardPtrOutput

type ListenerRuleActionForwardTargetGroup

type ListenerRuleActionForwardTargetGroup struct {
	TargetGroupIdentifier string `pulumi:"targetGroupIdentifier"`
	Weight                *int   `pulumi:"weight"`
}

type ListenerRuleActionForwardTargetGroupArgs

type ListenerRuleActionForwardTargetGroupArgs struct {
	TargetGroupIdentifier pulumi.StringInput `pulumi:"targetGroupIdentifier"`
	Weight                pulumi.IntPtrInput `pulumi:"weight"`
}

func (ListenerRuleActionForwardTargetGroupArgs) ElementType

func (ListenerRuleActionForwardTargetGroupArgs) ToListenerRuleActionForwardTargetGroupOutput

func (i ListenerRuleActionForwardTargetGroupArgs) ToListenerRuleActionForwardTargetGroupOutput() ListenerRuleActionForwardTargetGroupOutput

func (ListenerRuleActionForwardTargetGroupArgs) ToListenerRuleActionForwardTargetGroupOutputWithContext

func (i ListenerRuleActionForwardTargetGroupArgs) ToListenerRuleActionForwardTargetGroupOutputWithContext(ctx context.Context) ListenerRuleActionForwardTargetGroupOutput

type ListenerRuleActionForwardTargetGroupArray

type ListenerRuleActionForwardTargetGroupArray []ListenerRuleActionForwardTargetGroupInput

func (ListenerRuleActionForwardTargetGroupArray) ElementType

func (ListenerRuleActionForwardTargetGroupArray) ToListenerRuleActionForwardTargetGroupArrayOutput

func (i ListenerRuleActionForwardTargetGroupArray) ToListenerRuleActionForwardTargetGroupArrayOutput() ListenerRuleActionForwardTargetGroupArrayOutput

func (ListenerRuleActionForwardTargetGroupArray) ToListenerRuleActionForwardTargetGroupArrayOutputWithContext

func (i ListenerRuleActionForwardTargetGroupArray) ToListenerRuleActionForwardTargetGroupArrayOutputWithContext(ctx context.Context) ListenerRuleActionForwardTargetGroupArrayOutput

type ListenerRuleActionForwardTargetGroupArrayInput

type ListenerRuleActionForwardTargetGroupArrayInput interface {
	pulumi.Input

	ToListenerRuleActionForwardTargetGroupArrayOutput() ListenerRuleActionForwardTargetGroupArrayOutput
	ToListenerRuleActionForwardTargetGroupArrayOutputWithContext(context.Context) ListenerRuleActionForwardTargetGroupArrayOutput
}

ListenerRuleActionForwardTargetGroupArrayInput is an input type that accepts ListenerRuleActionForwardTargetGroupArray and ListenerRuleActionForwardTargetGroupArrayOutput values. You can construct a concrete instance of `ListenerRuleActionForwardTargetGroupArrayInput` via:

ListenerRuleActionForwardTargetGroupArray{ ListenerRuleActionForwardTargetGroupArgs{...} }

type ListenerRuleActionForwardTargetGroupArrayOutput

type ListenerRuleActionForwardTargetGroupArrayOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionForwardTargetGroupArrayOutput) ElementType

func (ListenerRuleActionForwardTargetGroupArrayOutput) Index

func (ListenerRuleActionForwardTargetGroupArrayOutput) ToListenerRuleActionForwardTargetGroupArrayOutput

func (o ListenerRuleActionForwardTargetGroupArrayOutput) ToListenerRuleActionForwardTargetGroupArrayOutput() ListenerRuleActionForwardTargetGroupArrayOutput

func (ListenerRuleActionForwardTargetGroupArrayOutput) ToListenerRuleActionForwardTargetGroupArrayOutputWithContext

func (o ListenerRuleActionForwardTargetGroupArrayOutput) ToListenerRuleActionForwardTargetGroupArrayOutputWithContext(ctx context.Context) ListenerRuleActionForwardTargetGroupArrayOutput

type ListenerRuleActionForwardTargetGroupInput

type ListenerRuleActionForwardTargetGroupInput interface {
	pulumi.Input

	ToListenerRuleActionForwardTargetGroupOutput() ListenerRuleActionForwardTargetGroupOutput
	ToListenerRuleActionForwardTargetGroupOutputWithContext(context.Context) ListenerRuleActionForwardTargetGroupOutput
}

ListenerRuleActionForwardTargetGroupInput is an input type that accepts ListenerRuleActionForwardTargetGroupArgs and ListenerRuleActionForwardTargetGroupOutput values. You can construct a concrete instance of `ListenerRuleActionForwardTargetGroupInput` via:

ListenerRuleActionForwardTargetGroupArgs{...}

type ListenerRuleActionForwardTargetGroupOutput

type ListenerRuleActionForwardTargetGroupOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionForwardTargetGroupOutput) ElementType

func (ListenerRuleActionForwardTargetGroupOutput) TargetGroupIdentifier

func (ListenerRuleActionForwardTargetGroupOutput) ToListenerRuleActionForwardTargetGroupOutput

func (o ListenerRuleActionForwardTargetGroupOutput) ToListenerRuleActionForwardTargetGroupOutput() ListenerRuleActionForwardTargetGroupOutput

func (ListenerRuleActionForwardTargetGroupOutput) ToListenerRuleActionForwardTargetGroupOutputWithContext

func (o ListenerRuleActionForwardTargetGroupOutput) ToListenerRuleActionForwardTargetGroupOutputWithContext(ctx context.Context) ListenerRuleActionForwardTargetGroupOutput

func (ListenerRuleActionForwardTargetGroupOutput) Weight

type ListenerRuleActionInput

type ListenerRuleActionInput interface {
	pulumi.Input

	ToListenerRuleActionOutput() ListenerRuleActionOutput
	ToListenerRuleActionOutputWithContext(context.Context) ListenerRuleActionOutput
}

ListenerRuleActionInput is an input type that accepts ListenerRuleActionArgs and ListenerRuleActionOutput values. You can construct a concrete instance of `ListenerRuleActionInput` via:

ListenerRuleActionArgs{...}

type ListenerRuleActionOutput

type ListenerRuleActionOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionOutput) ElementType

func (ListenerRuleActionOutput) ElementType() reflect.Type

func (ListenerRuleActionOutput) FixedResponse

Describes the rule action that returns a custom HTTP response.

func (ListenerRuleActionOutput) Forward

The forward action. Traffic that matches the rule is forwarded to the specified target groups.

func (ListenerRuleActionOutput) ToListenerRuleActionOutput

func (o ListenerRuleActionOutput) ToListenerRuleActionOutput() ListenerRuleActionOutput

func (ListenerRuleActionOutput) ToListenerRuleActionOutputWithContext

func (o ListenerRuleActionOutput) ToListenerRuleActionOutputWithContext(ctx context.Context) ListenerRuleActionOutput

func (ListenerRuleActionOutput) ToListenerRuleActionPtrOutput

func (o ListenerRuleActionOutput) ToListenerRuleActionPtrOutput() ListenerRuleActionPtrOutput

func (ListenerRuleActionOutput) ToListenerRuleActionPtrOutputWithContext

func (o ListenerRuleActionOutput) ToListenerRuleActionPtrOutputWithContext(ctx context.Context) ListenerRuleActionPtrOutput

type ListenerRuleActionPtrInput

type ListenerRuleActionPtrInput interface {
	pulumi.Input

	ToListenerRuleActionPtrOutput() ListenerRuleActionPtrOutput
	ToListenerRuleActionPtrOutputWithContext(context.Context) ListenerRuleActionPtrOutput
}

ListenerRuleActionPtrInput is an input type that accepts ListenerRuleActionArgs, ListenerRuleActionPtr and ListenerRuleActionPtrOutput values. You can construct a concrete instance of `ListenerRuleActionPtrInput` via:

        ListenerRuleActionArgs{...}

or:

        nil

type ListenerRuleActionPtrOutput

type ListenerRuleActionPtrOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionPtrOutput) Elem

func (ListenerRuleActionPtrOutput) ElementType

func (ListenerRuleActionPtrOutput) FixedResponse

Describes the rule action that returns a custom HTTP response.

func (ListenerRuleActionPtrOutput) Forward

The forward action. Traffic that matches the rule is forwarded to the specified target groups.

func (ListenerRuleActionPtrOutput) ToListenerRuleActionPtrOutput

func (o ListenerRuleActionPtrOutput) ToListenerRuleActionPtrOutput() ListenerRuleActionPtrOutput

func (ListenerRuleActionPtrOutput) ToListenerRuleActionPtrOutputWithContext

func (o ListenerRuleActionPtrOutput) ToListenerRuleActionPtrOutputWithContext(ctx context.Context) ListenerRuleActionPtrOutput

type ListenerRuleArgs

type ListenerRuleArgs struct {
	// The action for the listener rule.
	Action ListenerRuleActionInput
	// The ID or Amazon Resource Name (ARN) of the listener.
	ListenerIdentifier pulumi.StringInput
	// The rule match.
	Match ListenerRuleMatchInput
	// The name of the rule. The name must be unique within the listener. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
	Name pulumi.StringPtrInput
	// The priority assigned to the rule. Each rule for a specific listener must have a unique priority. The lower the priority number the higher the priority.
	//
	// The following arguments are optional:
	Priority pulumi.IntInput
	// The ID or Amazon Resource Identifier (ARN) of the service.
	ServiceIdentifier pulumi.StringInput
	// Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a ListenerRule resource.

func (ListenerRuleArgs) ElementType

func (ListenerRuleArgs) ElementType() reflect.Type

type ListenerRuleArray

type ListenerRuleArray []ListenerRuleInput

func (ListenerRuleArray) ElementType

func (ListenerRuleArray) ElementType() reflect.Type

func (ListenerRuleArray) ToListenerRuleArrayOutput

func (i ListenerRuleArray) ToListenerRuleArrayOutput() ListenerRuleArrayOutput

func (ListenerRuleArray) ToListenerRuleArrayOutputWithContext

func (i ListenerRuleArray) ToListenerRuleArrayOutputWithContext(ctx context.Context) ListenerRuleArrayOutput

type ListenerRuleArrayInput

type ListenerRuleArrayInput interface {
	pulumi.Input

	ToListenerRuleArrayOutput() ListenerRuleArrayOutput
	ToListenerRuleArrayOutputWithContext(context.Context) ListenerRuleArrayOutput
}

ListenerRuleArrayInput is an input type that accepts ListenerRuleArray and ListenerRuleArrayOutput values. You can construct a concrete instance of `ListenerRuleArrayInput` via:

ListenerRuleArray{ ListenerRuleArgs{...} }

type ListenerRuleArrayOutput

type ListenerRuleArrayOutput struct{ *pulumi.OutputState }

func (ListenerRuleArrayOutput) ElementType

func (ListenerRuleArrayOutput) ElementType() reflect.Type

func (ListenerRuleArrayOutput) Index

func (ListenerRuleArrayOutput) ToListenerRuleArrayOutput

func (o ListenerRuleArrayOutput) ToListenerRuleArrayOutput() ListenerRuleArrayOutput

func (ListenerRuleArrayOutput) ToListenerRuleArrayOutputWithContext

func (o ListenerRuleArrayOutput) ToListenerRuleArrayOutputWithContext(ctx context.Context) ListenerRuleArrayOutput

type ListenerRuleInput

type ListenerRuleInput interface {
	pulumi.Input

	ToListenerRuleOutput() ListenerRuleOutput
	ToListenerRuleOutputWithContext(ctx context.Context) ListenerRuleOutput
}

type ListenerRuleMap

type ListenerRuleMap map[string]ListenerRuleInput

func (ListenerRuleMap) ElementType

func (ListenerRuleMap) ElementType() reflect.Type

func (ListenerRuleMap) ToListenerRuleMapOutput

func (i ListenerRuleMap) ToListenerRuleMapOutput() ListenerRuleMapOutput

func (ListenerRuleMap) ToListenerRuleMapOutputWithContext

func (i ListenerRuleMap) ToListenerRuleMapOutputWithContext(ctx context.Context) ListenerRuleMapOutput

type ListenerRuleMapInput

type ListenerRuleMapInput interface {
	pulumi.Input

	ToListenerRuleMapOutput() ListenerRuleMapOutput
	ToListenerRuleMapOutputWithContext(context.Context) ListenerRuleMapOutput
}

ListenerRuleMapInput is an input type that accepts ListenerRuleMap and ListenerRuleMapOutput values. You can construct a concrete instance of `ListenerRuleMapInput` via:

ListenerRuleMap{ "key": ListenerRuleArgs{...} }

type ListenerRuleMapOutput

type ListenerRuleMapOutput struct{ *pulumi.OutputState }

func (ListenerRuleMapOutput) ElementType

func (ListenerRuleMapOutput) ElementType() reflect.Type

func (ListenerRuleMapOutput) MapIndex

func (ListenerRuleMapOutput) ToListenerRuleMapOutput

func (o ListenerRuleMapOutput) ToListenerRuleMapOutput() ListenerRuleMapOutput

func (ListenerRuleMapOutput) ToListenerRuleMapOutputWithContext

func (o ListenerRuleMapOutput) ToListenerRuleMapOutputWithContext(ctx context.Context) ListenerRuleMapOutput

type ListenerRuleMatch

type ListenerRuleMatch struct {
	// The HTTP criteria that a rule must match.
	HttpMatch *ListenerRuleMatchHttpMatch `pulumi:"httpMatch"`
}

type ListenerRuleMatchArgs

type ListenerRuleMatchArgs struct {
	// The HTTP criteria that a rule must match.
	HttpMatch ListenerRuleMatchHttpMatchPtrInput `pulumi:"httpMatch"`
}

func (ListenerRuleMatchArgs) ElementType

func (ListenerRuleMatchArgs) ElementType() reflect.Type

func (ListenerRuleMatchArgs) ToListenerRuleMatchOutput

func (i ListenerRuleMatchArgs) ToListenerRuleMatchOutput() ListenerRuleMatchOutput

func (ListenerRuleMatchArgs) ToListenerRuleMatchOutputWithContext

func (i ListenerRuleMatchArgs) ToListenerRuleMatchOutputWithContext(ctx context.Context) ListenerRuleMatchOutput

func (ListenerRuleMatchArgs) ToListenerRuleMatchPtrOutput

func (i ListenerRuleMatchArgs) ToListenerRuleMatchPtrOutput() ListenerRuleMatchPtrOutput

func (ListenerRuleMatchArgs) ToListenerRuleMatchPtrOutputWithContext

func (i ListenerRuleMatchArgs) ToListenerRuleMatchPtrOutputWithContext(ctx context.Context) ListenerRuleMatchPtrOutput

type ListenerRuleMatchHttpMatch

type ListenerRuleMatchHttpMatch struct {
	// The header matches. Matches incoming requests with rule based on request header value before applying rule action.
	HeaderMatches []ListenerRuleMatchHttpMatchHeaderMatch `pulumi:"headerMatches"`
	// The HTTP method type.
	Method *string `pulumi:"method"`
	// The path match.
	PathMatch *ListenerRuleMatchHttpMatchPathMatch `pulumi:"pathMatch"`
}

type ListenerRuleMatchHttpMatchArgs

type ListenerRuleMatchHttpMatchArgs struct {
	// The header matches. Matches incoming requests with rule based on request header value before applying rule action.
	HeaderMatches ListenerRuleMatchHttpMatchHeaderMatchArrayInput `pulumi:"headerMatches"`
	// The HTTP method type.
	Method pulumi.StringPtrInput `pulumi:"method"`
	// The path match.
	PathMatch ListenerRuleMatchHttpMatchPathMatchPtrInput `pulumi:"pathMatch"`
}

func (ListenerRuleMatchHttpMatchArgs) ElementType

func (ListenerRuleMatchHttpMatchArgs) ToListenerRuleMatchHttpMatchOutput

func (i ListenerRuleMatchHttpMatchArgs) ToListenerRuleMatchHttpMatchOutput() ListenerRuleMatchHttpMatchOutput

func (ListenerRuleMatchHttpMatchArgs) ToListenerRuleMatchHttpMatchOutputWithContext

func (i ListenerRuleMatchHttpMatchArgs) ToListenerRuleMatchHttpMatchOutputWithContext(ctx context.Context) ListenerRuleMatchHttpMatchOutput

func (ListenerRuleMatchHttpMatchArgs) ToListenerRuleMatchHttpMatchPtrOutput

func (i ListenerRuleMatchHttpMatchArgs) ToListenerRuleMatchHttpMatchPtrOutput() ListenerRuleMatchHttpMatchPtrOutput

func (ListenerRuleMatchHttpMatchArgs) ToListenerRuleMatchHttpMatchPtrOutputWithContext

func (i ListenerRuleMatchHttpMatchArgs) ToListenerRuleMatchHttpMatchPtrOutputWithContext(ctx context.Context) ListenerRuleMatchHttpMatchPtrOutput

type ListenerRuleMatchHttpMatchHeaderMatch

type ListenerRuleMatchHttpMatchHeaderMatch struct {
	// Indicates whether the match is case sensitive. Defaults to false.
	CaseSensitive *bool `pulumi:"caseSensitive"`
	// The header match type.
	Match ListenerRuleMatchHttpMatchHeaderMatchMatch `pulumi:"match"`
	// The name of the header.
	Name string `pulumi:"name"`
}

type ListenerRuleMatchHttpMatchHeaderMatchArgs

type ListenerRuleMatchHttpMatchHeaderMatchArgs struct {
	// Indicates whether the match is case sensitive. Defaults to false.
	CaseSensitive pulumi.BoolPtrInput `pulumi:"caseSensitive"`
	// The header match type.
	Match ListenerRuleMatchHttpMatchHeaderMatchMatchInput `pulumi:"match"`
	// The name of the header.
	Name pulumi.StringInput `pulumi:"name"`
}

func (ListenerRuleMatchHttpMatchHeaderMatchArgs) ElementType

func (ListenerRuleMatchHttpMatchHeaderMatchArgs) ToListenerRuleMatchHttpMatchHeaderMatchOutput

func (i ListenerRuleMatchHttpMatchHeaderMatchArgs) ToListenerRuleMatchHttpMatchHeaderMatchOutput() ListenerRuleMatchHttpMatchHeaderMatchOutput

func (ListenerRuleMatchHttpMatchHeaderMatchArgs) ToListenerRuleMatchHttpMatchHeaderMatchOutputWithContext

func (i ListenerRuleMatchHttpMatchHeaderMatchArgs) ToListenerRuleMatchHttpMatchHeaderMatchOutputWithContext(ctx context.Context) ListenerRuleMatchHttpMatchHeaderMatchOutput

type ListenerRuleMatchHttpMatchHeaderMatchArray

type ListenerRuleMatchHttpMatchHeaderMatchArray []ListenerRuleMatchHttpMatchHeaderMatchInput

func (ListenerRuleMatchHttpMatchHeaderMatchArray) ElementType

func (ListenerRuleMatchHttpMatchHeaderMatchArray) ToListenerRuleMatchHttpMatchHeaderMatchArrayOutput

func (i ListenerRuleMatchHttpMatchHeaderMatchArray) ToListenerRuleMatchHttpMatchHeaderMatchArrayOutput() ListenerRuleMatchHttpMatchHeaderMatchArrayOutput

func (ListenerRuleMatchHttpMatchHeaderMatchArray) ToListenerRuleMatchHttpMatchHeaderMatchArrayOutputWithContext

func (i ListenerRuleMatchHttpMatchHeaderMatchArray) ToListenerRuleMatchHttpMatchHeaderMatchArrayOutputWithContext(ctx context.Context) ListenerRuleMatchHttpMatchHeaderMatchArrayOutput

type ListenerRuleMatchHttpMatchHeaderMatchArrayInput

type ListenerRuleMatchHttpMatchHeaderMatchArrayInput interface {
	pulumi.Input

	ToListenerRuleMatchHttpMatchHeaderMatchArrayOutput() ListenerRuleMatchHttpMatchHeaderMatchArrayOutput
	ToListenerRuleMatchHttpMatchHeaderMatchArrayOutputWithContext(context.Context) ListenerRuleMatchHttpMatchHeaderMatchArrayOutput
}

ListenerRuleMatchHttpMatchHeaderMatchArrayInput is an input type that accepts ListenerRuleMatchHttpMatchHeaderMatchArray and ListenerRuleMatchHttpMatchHeaderMatchArrayOutput values. You can construct a concrete instance of `ListenerRuleMatchHttpMatchHeaderMatchArrayInput` via:

ListenerRuleMatchHttpMatchHeaderMatchArray{ ListenerRuleMatchHttpMatchHeaderMatchArgs{...} }

type ListenerRuleMatchHttpMatchHeaderMatchArrayOutput

type ListenerRuleMatchHttpMatchHeaderMatchArrayOutput struct{ *pulumi.OutputState }

func (ListenerRuleMatchHttpMatchHeaderMatchArrayOutput) ElementType

func (ListenerRuleMatchHttpMatchHeaderMatchArrayOutput) Index

func (ListenerRuleMatchHttpMatchHeaderMatchArrayOutput) ToListenerRuleMatchHttpMatchHeaderMatchArrayOutput

func (o ListenerRuleMatchHttpMatchHeaderMatchArrayOutput) ToListenerRuleMatchHttpMatchHeaderMatchArrayOutput() ListenerRuleMatchHttpMatchHeaderMatchArrayOutput

func (ListenerRuleMatchHttpMatchHeaderMatchArrayOutput) ToListenerRuleMatchHttpMatchHeaderMatchArrayOutputWithContext

func (o ListenerRuleMatchHttpMatchHeaderMatchArrayOutput) ToListenerRuleMatchHttpMatchHeaderMatchArrayOutputWithContext(ctx context.Context) ListenerRuleMatchHttpMatchHeaderMatchArrayOutput

type ListenerRuleMatchHttpMatchHeaderMatchInput

type ListenerRuleMatchHttpMatchHeaderMatchInput interface {
	pulumi.Input

	ToListenerRuleMatchHttpMatchHeaderMatchOutput() ListenerRuleMatchHttpMatchHeaderMatchOutput
	ToListenerRuleMatchHttpMatchHeaderMatchOutputWithContext(context.Context) ListenerRuleMatchHttpMatchHeaderMatchOutput
}

ListenerRuleMatchHttpMatchHeaderMatchInput is an input type that accepts ListenerRuleMatchHttpMatchHeaderMatchArgs and ListenerRuleMatchHttpMatchHeaderMatchOutput values. You can construct a concrete instance of `ListenerRuleMatchHttpMatchHeaderMatchInput` via:

ListenerRuleMatchHttpMatchHeaderMatchArgs{...}

type ListenerRuleMatchHttpMatchHeaderMatchMatch

type ListenerRuleMatchHttpMatchHeaderMatchMatch struct {
	// Specifies a contains type match.
	Contains *string `pulumi:"contains"`
	// Specifies an exact type match.
	Exact *string `pulumi:"exact"`
	// Specifies a prefix type match. Matches the value with the prefix.
	Prefix *string `pulumi:"prefix"`
}

type ListenerRuleMatchHttpMatchHeaderMatchMatchArgs

type ListenerRuleMatchHttpMatchHeaderMatchMatchArgs struct {
	// Specifies a contains type match.
	Contains pulumi.StringPtrInput `pulumi:"contains"`
	// Specifies an exact type match.
	Exact pulumi.StringPtrInput `pulumi:"exact"`
	// Specifies a prefix type match. Matches the value with the prefix.
	Prefix pulumi.StringPtrInput `pulumi:"prefix"`
}

func (ListenerRuleMatchHttpMatchHeaderMatchMatchArgs) ElementType

func (ListenerRuleMatchHttpMatchHeaderMatchMatchArgs) ToListenerRuleMatchHttpMatchHeaderMatchMatchOutput

func (i ListenerRuleMatchHttpMatchHeaderMatchMatchArgs) ToListenerRuleMatchHttpMatchHeaderMatchMatchOutput() ListenerRuleMatchHttpMatchHeaderMatchMatchOutput

func (ListenerRuleMatchHttpMatchHeaderMatchMatchArgs) ToListenerRuleMatchHttpMatchHeaderMatchMatchOutputWithContext

func (i ListenerRuleMatchHttpMatchHeaderMatchMatchArgs) ToListenerRuleMatchHttpMatchHeaderMatchMatchOutputWithContext(ctx context.Context) ListenerRuleMatchHttpMatchHeaderMatchMatchOutput

type ListenerRuleMatchHttpMatchHeaderMatchMatchInput

type ListenerRuleMatchHttpMatchHeaderMatchMatchInput interface {
	pulumi.Input

	ToListenerRuleMatchHttpMatchHeaderMatchMatchOutput() ListenerRuleMatchHttpMatchHeaderMatchMatchOutput
	ToListenerRuleMatchHttpMatchHeaderMatchMatchOutputWithContext(context.Context) ListenerRuleMatchHttpMatchHeaderMatchMatchOutput
}

ListenerRuleMatchHttpMatchHeaderMatchMatchInput is an input type that accepts ListenerRuleMatchHttpMatchHeaderMatchMatchArgs and ListenerRuleMatchHttpMatchHeaderMatchMatchOutput values. You can construct a concrete instance of `ListenerRuleMatchHttpMatchHeaderMatchMatchInput` via:

ListenerRuleMatchHttpMatchHeaderMatchMatchArgs{...}

type ListenerRuleMatchHttpMatchHeaderMatchMatchOutput

type ListenerRuleMatchHttpMatchHeaderMatchMatchOutput struct{ *pulumi.OutputState }

func (ListenerRuleMatchHttpMatchHeaderMatchMatchOutput) Contains

Specifies a contains type match.

func (ListenerRuleMatchHttpMatchHeaderMatchMatchOutput) ElementType

func (ListenerRuleMatchHttpMatchHeaderMatchMatchOutput) Exact

Specifies an exact type match.

func (ListenerRuleMatchHttpMatchHeaderMatchMatchOutput) Prefix

Specifies a prefix type match. Matches the value with the prefix.

func (ListenerRuleMatchHttpMatchHeaderMatchMatchOutput) ToListenerRuleMatchHttpMatchHeaderMatchMatchOutput

func (o ListenerRuleMatchHttpMatchHeaderMatchMatchOutput) ToListenerRuleMatchHttpMatchHeaderMatchMatchOutput() ListenerRuleMatchHttpMatchHeaderMatchMatchOutput

func (ListenerRuleMatchHttpMatchHeaderMatchMatchOutput) ToListenerRuleMatchHttpMatchHeaderMatchMatchOutputWithContext

func (o ListenerRuleMatchHttpMatchHeaderMatchMatchOutput) ToListenerRuleMatchHttpMatchHeaderMatchMatchOutputWithContext(ctx context.Context) ListenerRuleMatchHttpMatchHeaderMatchMatchOutput

type ListenerRuleMatchHttpMatchHeaderMatchOutput

type ListenerRuleMatchHttpMatchHeaderMatchOutput struct{ *pulumi.OutputState }

func (ListenerRuleMatchHttpMatchHeaderMatchOutput) CaseSensitive

Indicates whether the match is case sensitive. Defaults to false.

func (ListenerRuleMatchHttpMatchHeaderMatchOutput) ElementType

func (ListenerRuleMatchHttpMatchHeaderMatchOutput) Match

The header match type.

func (ListenerRuleMatchHttpMatchHeaderMatchOutput) Name

The name of the header.

func (ListenerRuleMatchHttpMatchHeaderMatchOutput) ToListenerRuleMatchHttpMatchHeaderMatchOutput

func (o ListenerRuleMatchHttpMatchHeaderMatchOutput) ToListenerRuleMatchHttpMatchHeaderMatchOutput() ListenerRuleMatchHttpMatchHeaderMatchOutput

func (ListenerRuleMatchHttpMatchHeaderMatchOutput) ToListenerRuleMatchHttpMatchHeaderMatchOutputWithContext

func (o ListenerRuleMatchHttpMatchHeaderMatchOutput) ToListenerRuleMatchHttpMatchHeaderMatchOutputWithContext(ctx context.Context) ListenerRuleMatchHttpMatchHeaderMatchOutput

type ListenerRuleMatchHttpMatchInput

type ListenerRuleMatchHttpMatchInput interface {
	pulumi.Input

	ToListenerRuleMatchHttpMatchOutput() ListenerRuleMatchHttpMatchOutput
	ToListenerRuleMatchHttpMatchOutputWithContext(context.Context) ListenerRuleMatchHttpMatchOutput
}

ListenerRuleMatchHttpMatchInput is an input type that accepts ListenerRuleMatchHttpMatchArgs and ListenerRuleMatchHttpMatchOutput values. You can construct a concrete instance of `ListenerRuleMatchHttpMatchInput` via:

ListenerRuleMatchHttpMatchArgs{...}

type ListenerRuleMatchHttpMatchOutput

type ListenerRuleMatchHttpMatchOutput struct{ *pulumi.OutputState }

func (ListenerRuleMatchHttpMatchOutput) ElementType

func (ListenerRuleMatchHttpMatchOutput) HeaderMatches

The header matches. Matches incoming requests with rule based on request header value before applying rule action.

func (ListenerRuleMatchHttpMatchOutput) Method

The HTTP method type.

func (ListenerRuleMatchHttpMatchOutput) PathMatch

The path match.

func (ListenerRuleMatchHttpMatchOutput) ToListenerRuleMatchHttpMatchOutput

func (o ListenerRuleMatchHttpMatchOutput) ToListenerRuleMatchHttpMatchOutput() ListenerRuleMatchHttpMatchOutput

func (ListenerRuleMatchHttpMatchOutput) ToListenerRuleMatchHttpMatchOutputWithContext

func (o ListenerRuleMatchHttpMatchOutput) ToListenerRuleMatchHttpMatchOutputWithContext(ctx context.Context) ListenerRuleMatchHttpMatchOutput

func (ListenerRuleMatchHttpMatchOutput) ToListenerRuleMatchHttpMatchPtrOutput

func (o ListenerRuleMatchHttpMatchOutput) ToListenerRuleMatchHttpMatchPtrOutput() ListenerRuleMatchHttpMatchPtrOutput

func (ListenerRuleMatchHttpMatchOutput) ToListenerRuleMatchHttpMatchPtrOutputWithContext

func (o ListenerRuleMatchHttpMatchOutput) ToListenerRuleMatchHttpMatchPtrOutputWithContext(ctx context.Context) ListenerRuleMatchHttpMatchPtrOutput

type ListenerRuleMatchHttpMatchPathMatch

type ListenerRuleMatchHttpMatchPathMatch struct {
	// Indicates whether the match is case sensitive. Defaults to false.
	CaseSensitive *bool `pulumi:"caseSensitive"`
	// The header match type.
	Match ListenerRuleMatchHttpMatchPathMatchMatch `pulumi:"match"`
}

type ListenerRuleMatchHttpMatchPathMatchArgs

type ListenerRuleMatchHttpMatchPathMatchArgs struct {
	// Indicates whether the match is case sensitive. Defaults to false.
	CaseSensitive pulumi.BoolPtrInput `pulumi:"caseSensitive"`
	// The header match type.
	Match ListenerRuleMatchHttpMatchPathMatchMatchInput `pulumi:"match"`
}

func (ListenerRuleMatchHttpMatchPathMatchArgs) ElementType

func (ListenerRuleMatchHttpMatchPathMatchArgs) ToListenerRuleMatchHttpMatchPathMatchOutput

func (i ListenerRuleMatchHttpMatchPathMatchArgs) ToListenerRuleMatchHttpMatchPathMatchOutput() ListenerRuleMatchHttpMatchPathMatchOutput

func (ListenerRuleMatchHttpMatchPathMatchArgs) ToListenerRuleMatchHttpMatchPathMatchOutputWithContext

func (i ListenerRuleMatchHttpMatchPathMatchArgs) ToListenerRuleMatchHttpMatchPathMatchOutputWithContext(ctx context.Context) ListenerRuleMatchHttpMatchPathMatchOutput

func (ListenerRuleMatchHttpMatchPathMatchArgs) ToListenerRuleMatchHttpMatchPathMatchPtrOutput

func (i ListenerRuleMatchHttpMatchPathMatchArgs) ToListenerRuleMatchHttpMatchPathMatchPtrOutput() ListenerRuleMatchHttpMatchPathMatchPtrOutput

func (ListenerRuleMatchHttpMatchPathMatchArgs) ToListenerRuleMatchHttpMatchPathMatchPtrOutputWithContext

func (i ListenerRuleMatchHttpMatchPathMatchArgs) ToListenerRuleMatchHttpMatchPathMatchPtrOutputWithContext(ctx context.Context) ListenerRuleMatchHttpMatchPathMatchPtrOutput

type ListenerRuleMatchHttpMatchPathMatchInput

type ListenerRuleMatchHttpMatchPathMatchInput interface {
	pulumi.Input

	ToListenerRuleMatchHttpMatchPathMatchOutput() ListenerRuleMatchHttpMatchPathMatchOutput
	ToListenerRuleMatchHttpMatchPathMatchOutputWithContext(context.Context) ListenerRuleMatchHttpMatchPathMatchOutput
}

ListenerRuleMatchHttpMatchPathMatchInput is an input type that accepts ListenerRuleMatchHttpMatchPathMatchArgs and ListenerRuleMatchHttpMatchPathMatchOutput values. You can construct a concrete instance of `ListenerRuleMatchHttpMatchPathMatchInput` via:

ListenerRuleMatchHttpMatchPathMatchArgs{...}

type ListenerRuleMatchHttpMatchPathMatchMatch

type ListenerRuleMatchHttpMatchPathMatchMatch struct {
	// Specifies an exact type match.
	Exact *string `pulumi:"exact"`
	// Specifies a prefix type match. Matches the value with the prefix.
	Prefix *string `pulumi:"prefix"`
}

type ListenerRuleMatchHttpMatchPathMatchMatchArgs

type ListenerRuleMatchHttpMatchPathMatchMatchArgs struct {
	// Specifies an exact type match.
	Exact pulumi.StringPtrInput `pulumi:"exact"`
	// Specifies a prefix type match. Matches the value with the prefix.
	Prefix pulumi.StringPtrInput `pulumi:"prefix"`
}

func (ListenerRuleMatchHttpMatchPathMatchMatchArgs) ElementType

func (ListenerRuleMatchHttpMatchPathMatchMatchArgs) ToListenerRuleMatchHttpMatchPathMatchMatchOutput

func (i ListenerRuleMatchHttpMatchPathMatchMatchArgs) ToListenerRuleMatchHttpMatchPathMatchMatchOutput() ListenerRuleMatchHttpMatchPathMatchMatchOutput

func (ListenerRuleMatchHttpMatchPathMatchMatchArgs) ToListenerRuleMatchHttpMatchPathMatchMatchOutputWithContext

func (i ListenerRuleMatchHttpMatchPathMatchMatchArgs) ToListenerRuleMatchHttpMatchPathMatchMatchOutputWithContext(ctx context.Context) ListenerRuleMatchHttpMatchPathMatchMatchOutput

func (ListenerRuleMatchHttpMatchPathMatchMatchArgs) ToListenerRuleMatchHttpMatchPathMatchMatchPtrOutput

func (i ListenerRuleMatchHttpMatchPathMatchMatchArgs) ToListenerRuleMatchHttpMatchPathMatchMatchPtrOutput() ListenerRuleMatchHttpMatchPathMatchMatchPtrOutput

func (ListenerRuleMatchHttpMatchPathMatchMatchArgs) ToListenerRuleMatchHttpMatchPathMatchMatchPtrOutputWithContext

func (i ListenerRuleMatchHttpMatchPathMatchMatchArgs) ToListenerRuleMatchHttpMatchPathMatchMatchPtrOutputWithContext(ctx context.Context) ListenerRuleMatchHttpMatchPathMatchMatchPtrOutput

type ListenerRuleMatchHttpMatchPathMatchMatchInput

type ListenerRuleMatchHttpMatchPathMatchMatchInput interface {
	pulumi.Input

	ToListenerRuleMatchHttpMatchPathMatchMatchOutput() ListenerRuleMatchHttpMatchPathMatchMatchOutput
	ToListenerRuleMatchHttpMatchPathMatchMatchOutputWithContext(context.Context) ListenerRuleMatchHttpMatchPathMatchMatchOutput
}

ListenerRuleMatchHttpMatchPathMatchMatchInput is an input type that accepts ListenerRuleMatchHttpMatchPathMatchMatchArgs and ListenerRuleMatchHttpMatchPathMatchMatchOutput values. You can construct a concrete instance of `ListenerRuleMatchHttpMatchPathMatchMatchInput` via:

ListenerRuleMatchHttpMatchPathMatchMatchArgs{...}

type ListenerRuleMatchHttpMatchPathMatchMatchOutput

type ListenerRuleMatchHttpMatchPathMatchMatchOutput struct{ *pulumi.OutputState }

func (ListenerRuleMatchHttpMatchPathMatchMatchOutput) ElementType

func (ListenerRuleMatchHttpMatchPathMatchMatchOutput) Exact

Specifies an exact type match.

func (ListenerRuleMatchHttpMatchPathMatchMatchOutput) Prefix

Specifies a prefix type match. Matches the value with the prefix.

func (ListenerRuleMatchHttpMatchPathMatchMatchOutput) ToListenerRuleMatchHttpMatchPathMatchMatchOutput

func (o ListenerRuleMatchHttpMatchPathMatchMatchOutput) ToListenerRuleMatchHttpMatchPathMatchMatchOutput() ListenerRuleMatchHttpMatchPathMatchMatchOutput

func (ListenerRuleMatchHttpMatchPathMatchMatchOutput) ToListenerRuleMatchHttpMatchPathMatchMatchOutputWithContext

func (o ListenerRuleMatchHttpMatchPathMatchMatchOutput) ToListenerRuleMatchHttpMatchPathMatchMatchOutputWithContext(ctx context.Context) ListenerRuleMatchHttpMatchPathMatchMatchOutput

func (ListenerRuleMatchHttpMatchPathMatchMatchOutput) ToListenerRuleMatchHttpMatchPathMatchMatchPtrOutput

func (o ListenerRuleMatchHttpMatchPathMatchMatchOutput) ToListenerRuleMatchHttpMatchPathMatchMatchPtrOutput() ListenerRuleMatchHttpMatchPathMatchMatchPtrOutput

func (ListenerRuleMatchHttpMatchPathMatchMatchOutput) ToListenerRuleMatchHttpMatchPathMatchMatchPtrOutputWithContext

func (o ListenerRuleMatchHttpMatchPathMatchMatchOutput) ToListenerRuleMatchHttpMatchPathMatchMatchPtrOutputWithContext(ctx context.Context) ListenerRuleMatchHttpMatchPathMatchMatchPtrOutput

type ListenerRuleMatchHttpMatchPathMatchMatchPtrInput

type ListenerRuleMatchHttpMatchPathMatchMatchPtrInput interface {
	pulumi.Input

	ToListenerRuleMatchHttpMatchPathMatchMatchPtrOutput() ListenerRuleMatchHttpMatchPathMatchMatchPtrOutput
	ToListenerRuleMatchHttpMatchPathMatchMatchPtrOutputWithContext(context.Context) ListenerRuleMatchHttpMatchPathMatchMatchPtrOutput
}

ListenerRuleMatchHttpMatchPathMatchMatchPtrInput is an input type that accepts ListenerRuleMatchHttpMatchPathMatchMatchArgs, ListenerRuleMatchHttpMatchPathMatchMatchPtr and ListenerRuleMatchHttpMatchPathMatchMatchPtrOutput values. You can construct a concrete instance of `ListenerRuleMatchHttpMatchPathMatchMatchPtrInput` via:

        ListenerRuleMatchHttpMatchPathMatchMatchArgs{...}

or:

        nil

type ListenerRuleMatchHttpMatchPathMatchMatchPtrOutput

type ListenerRuleMatchHttpMatchPathMatchMatchPtrOutput struct{ *pulumi.OutputState }

func (ListenerRuleMatchHttpMatchPathMatchMatchPtrOutput) Elem

func (ListenerRuleMatchHttpMatchPathMatchMatchPtrOutput) ElementType

func (ListenerRuleMatchHttpMatchPathMatchMatchPtrOutput) Exact

Specifies an exact type match.

func (ListenerRuleMatchHttpMatchPathMatchMatchPtrOutput) Prefix

Specifies a prefix type match. Matches the value with the prefix.

func (ListenerRuleMatchHttpMatchPathMatchMatchPtrOutput) ToListenerRuleMatchHttpMatchPathMatchMatchPtrOutput

func (o ListenerRuleMatchHttpMatchPathMatchMatchPtrOutput) ToListenerRuleMatchHttpMatchPathMatchMatchPtrOutput() ListenerRuleMatchHttpMatchPathMatchMatchPtrOutput

func (ListenerRuleMatchHttpMatchPathMatchMatchPtrOutput) ToListenerRuleMatchHttpMatchPathMatchMatchPtrOutputWithContext

func (o ListenerRuleMatchHttpMatchPathMatchMatchPtrOutput) ToListenerRuleMatchHttpMatchPathMatchMatchPtrOutputWithContext(ctx context.Context) ListenerRuleMatchHttpMatchPathMatchMatchPtrOutput

type ListenerRuleMatchHttpMatchPathMatchOutput

type ListenerRuleMatchHttpMatchPathMatchOutput struct{ *pulumi.OutputState }

func (ListenerRuleMatchHttpMatchPathMatchOutput) CaseSensitive

Indicates whether the match is case sensitive. Defaults to false.

func (ListenerRuleMatchHttpMatchPathMatchOutput) ElementType

func (ListenerRuleMatchHttpMatchPathMatchOutput) Match

The header match type.

func (ListenerRuleMatchHttpMatchPathMatchOutput) ToListenerRuleMatchHttpMatchPathMatchOutput

func (o ListenerRuleMatchHttpMatchPathMatchOutput) ToListenerRuleMatchHttpMatchPathMatchOutput() ListenerRuleMatchHttpMatchPathMatchOutput

func (ListenerRuleMatchHttpMatchPathMatchOutput) ToListenerRuleMatchHttpMatchPathMatchOutputWithContext

func (o ListenerRuleMatchHttpMatchPathMatchOutput) ToListenerRuleMatchHttpMatchPathMatchOutputWithContext(ctx context.Context) ListenerRuleMatchHttpMatchPathMatchOutput

func (ListenerRuleMatchHttpMatchPathMatchOutput) ToListenerRuleMatchHttpMatchPathMatchPtrOutput

func (o ListenerRuleMatchHttpMatchPathMatchOutput) ToListenerRuleMatchHttpMatchPathMatchPtrOutput() ListenerRuleMatchHttpMatchPathMatchPtrOutput

func (ListenerRuleMatchHttpMatchPathMatchOutput) ToListenerRuleMatchHttpMatchPathMatchPtrOutputWithContext

func (o ListenerRuleMatchHttpMatchPathMatchOutput) ToListenerRuleMatchHttpMatchPathMatchPtrOutputWithContext(ctx context.Context) ListenerRuleMatchHttpMatchPathMatchPtrOutput

type ListenerRuleMatchHttpMatchPathMatchPtrInput

type ListenerRuleMatchHttpMatchPathMatchPtrInput interface {
	pulumi.Input

	ToListenerRuleMatchHttpMatchPathMatchPtrOutput() ListenerRuleMatchHttpMatchPathMatchPtrOutput
	ToListenerRuleMatchHttpMatchPathMatchPtrOutputWithContext(context.Context) ListenerRuleMatchHttpMatchPathMatchPtrOutput
}

ListenerRuleMatchHttpMatchPathMatchPtrInput is an input type that accepts ListenerRuleMatchHttpMatchPathMatchArgs, ListenerRuleMatchHttpMatchPathMatchPtr and ListenerRuleMatchHttpMatchPathMatchPtrOutput values. You can construct a concrete instance of `ListenerRuleMatchHttpMatchPathMatchPtrInput` via:

        ListenerRuleMatchHttpMatchPathMatchArgs{...}

or:

        nil

type ListenerRuleMatchHttpMatchPathMatchPtrOutput

type ListenerRuleMatchHttpMatchPathMatchPtrOutput struct{ *pulumi.OutputState }

func (ListenerRuleMatchHttpMatchPathMatchPtrOutput) CaseSensitive

Indicates whether the match is case sensitive. Defaults to false.

func (ListenerRuleMatchHttpMatchPathMatchPtrOutput) Elem

func (ListenerRuleMatchHttpMatchPathMatchPtrOutput) ElementType

func (ListenerRuleMatchHttpMatchPathMatchPtrOutput) Match

The header match type.

func (ListenerRuleMatchHttpMatchPathMatchPtrOutput) ToListenerRuleMatchHttpMatchPathMatchPtrOutput

func (o ListenerRuleMatchHttpMatchPathMatchPtrOutput) ToListenerRuleMatchHttpMatchPathMatchPtrOutput() ListenerRuleMatchHttpMatchPathMatchPtrOutput

func (ListenerRuleMatchHttpMatchPathMatchPtrOutput) ToListenerRuleMatchHttpMatchPathMatchPtrOutputWithContext

func (o ListenerRuleMatchHttpMatchPathMatchPtrOutput) ToListenerRuleMatchHttpMatchPathMatchPtrOutputWithContext(ctx context.Context) ListenerRuleMatchHttpMatchPathMatchPtrOutput

type ListenerRuleMatchHttpMatchPtrInput

type ListenerRuleMatchHttpMatchPtrInput interface {
	pulumi.Input

	ToListenerRuleMatchHttpMatchPtrOutput() ListenerRuleMatchHttpMatchPtrOutput
	ToListenerRuleMatchHttpMatchPtrOutputWithContext(context.Context) ListenerRuleMatchHttpMatchPtrOutput
}

ListenerRuleMatchHttpMatchPtrInput is an input type that accepts ListenerRuleMatchHttpMatchArgs, ListenerRuleMatchHttpMatchPtr and ListenerRuleMatchHttpMatchPtrOutput values. You can construct a concrete instance of `ListenerRuleMatchHttpMatchPtrInput` via:

        ListenerRuleMatchHttpMatchArgs{...}

or:

        nil

type ListenerRuleMatchHttpMatchPtrOutput

type ListenerRuleMatchHttpMatchPtrOutput struct{ *pulumi.OutputState }

func (ListenerRuleMatchHttpMatchPtrOutput) Elem

func (ListenerRuleMatchHttpMatchPtrOutput) ElementType

func (ListenerRuleMatchHttpMatchPtrOutput) HeaderMatches

The header matches. Matches incoming requests with rule based on request header value before applying rule action.

func (ListenerRuleMatchHttpMatchPtrOutput) Method

The HTTP method type.

func (ListenerRuleMatchHttpMatchPtrOutput) PathMatch

The path match.

func (ListenerRuleMatchHttpMatchPtrOutput) ToListenerRuleMatchHttpMatchPtrOutput

func (o ListenerRuleMatchHttpMatchPtrOutput) ToListenerRuleMatchHttpMatchPtrOutput() ListenerRuleMatchHttpMatchPtrOutput

func (ListenerRuleMatchHttpMatchPtrOutput) ToListenerRuleMatchHttpMatchPtrOutputWithContext

func (o ListenerRuleMatchHttpMatchPtrOutput) ToListenerRuleMatchHttpMatchPtrOutputWithContext(ctx context.Context) ListenerRuleMatchHttpMatchPtrOutput

type ListenerRuleMatchInput

type ListenerRuleMatchInput interface {
	pulumi.Input

	ToListenerRuleMatchOutput() ListenerRuleMatchOutput
	ToListenerRuleMatchOutputWithContext(context.Context) ListenerRuleMatchOutput
}

ListenerRuleMatchInput is an input type that accepts ListenerRuleMatchArgs and ListenerRuleMatchOutput values. You can construct a concrete instance of `ListenerRuleMatchInput` via:

ListenerRuleMatchArgs{...}

type ListenerRuleMatchOutput

type ListenerRuleMatchOutput struct{ *pulumi.OutputState }

func (ListenerRuleMatchOutput) ElementType

func (ListenerRuleMatchOutput) ElementType() reflect.Type

func (ListenerRuleMatchOutput) HttpMatch

The HTTP criteria that a rule must match.

func (ListenerRuleMatchOutput) ToListenerRuleMatchOutput

func (o ListenerRuleMatchOutput) ToListenerRuleMatchOutput() ListenerRuleMatchOutput

func (ListenerRuleMatchOutput) ToListenerRuleMatchOutputWithContext

func (o ListenerRuleMatchOutput) ToListenerRuleMatchOutputWithContext(ctx context.Context) ListenerRuleMatchOutput

func (ListenerRuleMatchOutput) ToListenerRuleMatchPtrOutput

func (o ListenerRuleMatchOutput) ToListenerRuleMatchPtrOutput() ListenerRuleMatchPtrOutput

func (ListenerRuleMatchOutput) ToListenerRuleMatchPtrOutputWithContext

func (o ListenerRuleMatchOutput) ToListenerRuleMatchPtrOutputWithContext(ctx context.Context) ListenerRuleMatchPtrOutput

type ListenerRuleMatchPtrInput

type ListenerRuleMatchPtrInput interface {
	pulumi.Input

	ToListenerRuleMatchPtrOutput() ListenerRuleMatchPtrOutput
	ToListenerRuleMatchPtrOutputWithContext(context.Context) ListenerRuleMatchPtrOutput
}

ListenerRuleMatchPtrInput is an input type that accepts ListenerRuleMatchArgs, ListenerRuleMatchPtr and ListenerRuleMatchPtrOutput values. You can construct a concrete instance of `ListenerRuleMatchPtrInput` via:

        ListenerRuleMatchArgs{...}

or:

        nil

type ListenerRuleMatchPtrOutput

type ListenerRuleMatchPtrOutput struct{ *pulumi.OutputState }

func (ListenerRuleMatchPtrOutput) Elem

func (ListenerRuleMatchPtrOutput) ElementType

func (ListenerRuleMatchPtrOutput) ElementType() reflect.Type

func (ListenerRuleMatchPtrOutput) HttpMatch

The HTTP criteria that a rule must match.

func (ListenerRuleMatchPtrOutput) ToListenerRuleMatchPtrOutput

func (o ListenerRuleMatchPtrOutput) ToListenerRuleMatchPtrOutput() ListenerRuleMatchPtrOutput

func (ListenerRuleMatchPtrOutput) ToListenerRuleMatchPtrOutputWithContext

func (o ListenerRuleMatchPtrOutput) ToListenerRuleMatchPtrOutputWithContext(ctx context.Context) ListenerRuleMatchPtrOutput

type ListenerRuleOutput

type ListenerRuleOutput struct{ *pulumi.OutputState }

func (ListenerRuleOutput) Action

The action for the listener rule.

func (ListenerRuleOutput) Arn

The ARN for the listener rule.

func (ListenerRuleOutput) ElementType

func (ListenerRuleOutput) ElementType() reflect.Type

func (ListenerRuleOutput) ListenerIdentifier

func (o ListenerRuleOutput) ListenerIdentifier() pulumi.StringOutput

The ID or Amazon Resource Name (ARN) of the listener.

func (ListenerRuleOutput) Match

The rule match.

func (ListenerRuleOutput) Name

The name of the rule. The name must be unique within the listener. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.

func (ListenerRuleOutput) Priority

func (o ListenerRuleOutput) Priority() pulumi.IntOutput

The priority assigned to the rule. Each rule for a specific listener must have a unique priority. The lower the priority number the higher the priority.

The following arguments are optional:

func (ListenerRuleOutput) RuleId

Unique identifier for the listener rule.

func (ListenerRuleOutput) ServiceIdentifier

func (o ListenerRuleOutput) ServiceIdentifier() pulumi.StringOutput

The ID or Amazon Resource Identifier (ARN) of the service.

func (ListenerRuleOutput) Tags

Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (ListenerRuleOutput) TagsAll deprecated

Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (ListenerRuleOutput) ToListenerRuleOutput

func (o ListenerRuleOutput) ToListenerRuleOutput() ListenerRuleOutput

func (ListenerRuleOutput) ToListenerRuleOutputWithContext

func (o ListenerRuleOutput) ToListenerRuleOutputWithContext(ctx context.Context) ListenerRuleOutput

type ListenerRuleState

type ListenerRuleState struct {
	// The action for the listener rule.
	Action ListenerRuleActionPtrInput
	// The ARN for the listener rule.
	Arn pulumi.StringPtrInput
	// The ID or Amazon Resource Name (ARN) of the listener.
	ListenerIdentifier pulumi.StringPtrInput
	// The rule match.
	Match ListenerRuleMatchPtrInput
	// The name of the rule. The name must be unique within the listener. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
	Name pulumi.StringPtrInput
	// The priority assigned to the rule. Each rule for a specific listener must have a unique priority. The lower the priority number the higher the priority.
	//
	// The following arguments are optional:
	Priority pulumi.IntPtrInput
	// Unique identifier for the listener rule.
	RuleId pulumi.StringPtrInput
	// The ID or Amazon Resource Identifier (ARN) of the service.
	ServiceIdentifier pulumi.StringPtrInput
	// Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (ListenerRuleState) ElementType

func (ListenerRuleState) ElementType() reflect.Type

type ListenerState

type ListenerState struct {
	// ARN of the listener.
	Arn pulumi.StringPtrInput
	// Date and time that the listener was created, specified in ISO-8601 format.
	CreatedAt pulumi.StringPtrInput
	// Default action block for the default listener rule. Default action blocks are defined below.
	DefaultAction ListenerDefaultActionPtrInput
	LastUpdatedAt pulumi.StringPtrInput
	// Standalone ID of the listener, e.g. `listener-0a1b2c3d4e5f6g`.
	ListenerId pulumi.StringPtrInput
	// Name of the listener. A listener name must be unique within a service. Valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
	Name pulumi.StringPtrInput
	// Listener port. You can specify a value from 1 to 65535. If `port` is not specified and `protocol` is HTTP, the value will default to 80. If `port` is not specified and `protocol` is HTTPS, the value will default to 443.
	Port pulumi.IntPtrInput
	// Protocol for the listener. Supported values are `HTTP` or `HTTPS`
	Protocol pulumi.StringPtrInput
	// Amazon Resource Name (ARN) of the VPC Lattice service. You must include either the `serviceArn` or `serviceIdentifier` arguments.
	ServiceArn pulumi.StringPtrInput
	// ID of the VPC Lattice service. You must include either the `serviceArn` or `serviceIdentifier` arguments.
	// > **NOTE:** You must specify one of the following arguments: `serviceArn` or `serviceIdentifier`.
	ServiceIdentifier pulumi.StringPtrInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (ListenerState) ElementType

func (ListenerState) ElementType() reflect.Type

type LookupAuthPolicyArgs

type LookupAuthPolicyArgs struct {
	// The auth policy. The policy string in JSON must not contain newlines or blank lines.
	Policy *string `pulumi:"policy"`
	// The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.
	ResourceIdentifier string `pulumi:"resourceIdentifier"`
	// The state of the auth policy. The auth policy is only active when the auth type is set to AWS_IAM. If you provide a policy, then authentication and authorization decisions are made based on this policy and the client's IAM policy. If the Auth type is NONE, then, any auth policy you provide will remain inactive.
	State *string `pulumi:"state"`
}

A collection of arguments for invoking getAuthPolicy.

type LookupAuthPolicyOutputArgs

type LookupAuthPolicyOutputArgs struct {
	// The auth policy. The policy string in JSON must not contain newlines or blank lines.
	Policy pulumi.StringPtrInput `pulumi:"policy"`
	// The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.
	ResourceIdentifier pulumi.StringInput `pulumi:"resourceIdentifier"`
	// The state of the auth policy. The auth policy is only active when the auth type is set to AWS_IAM. If you provide a policy, then authentication and authorization decisions are made based on this policy and the client's IAM policy. If the Auth type is NONE, then, any auth policy you provide will remain inactive.
	State pulumi.StringPtrInput `pulumi:"state"`
}

A collection of arguments for invoking getAuthPolicy.

func (LookupAuthPolicyOutputArgs) ElementType

func (LookupAuthPolicyOutputArgs) ElementType() reflect.Type

type LookupAuthPolicyResult

type LookupAuthPolicyResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The auth policy. The policy string in JSON must not contain newlines or blank lines.
	Policy             *string `pulumi:"policy"`
	ResourceIdentifier string  `pulumi:"resourceIdentifier"`
	// The state of the auth policy. The auth policy is only active when the auth type is set to AWS_IAM. If you provide a policy, then authentication and authorization decisions are made based on this policy and the client's IAM policy. If the Auth type is NONE, then, any auth policy you provide will remain inactive.
	State *string `pulumi:"state"`
}

A collection of values returned by getAuthPolicy.

func LookupAuthPolicy

func LookupAuthPolicy(ctx *pulumi.Context, args *LookupAuthPolicyArgs, opts ...pulumi.InvokeOption) (*LookupAuthPolicyResult, error)

Data source for managing an AWS VPC Lattice Auth Policy.

## Example Usage

### Basic Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/vpclattice"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpclattice.LookupAuthPolicy(ctx, &vpclattice.LookupAuthPolicyArgs{
			ResourceIdentifier: testAwsVpclatticeAuthPolicy.ResourceIdentifier,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupAuthPolicyResultOutput

type LookupAuthPolicyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAuthPolicy.

func (LookupAuthPolicyResultOutput) ElementType

func (LookupAuthPolicyResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupAuthPolicyResultOutput) Policy

The auth policy. The policy string in JSON must not contain newlines or blank lines.

func (LookupAuthPolicyResultOutput) ResourceIdentifier

func (o LookupAuthPolicyResultOutput) ResourceIdentifier() pulumi.StringOutput

func (LookupAuthPolicyResultOutput) State

The state of the auth policy. The auth policy is only active when the auth type is set to AWS_IAM. If you provide a policy, then authentication and authorization decisions are made based on this policy and the client's IAM policy. If the Auth type is NONE, then, any auth policy you provide will remain inactive.

func (LookupAuthPolicyResultOutput) ToLookupAuthPolicyResultOutput

func (o LookupAuthPolicyResultOutput) ToLookupAuthPolicyResultOutput() LookupAuthPolicyResultOutput

func (LookupAuthPolicyResultOutput) ToLookupAuthPolicyResultOutputWithContext

func (o LookupAuthPolicyResultOutput) ToLookupAuthPolicyResultOutputWithContext(ctx context.Context) LookupAuthPolicyResultOutput

type LookupListenerArgs

type LookupListenerArgs struct {
	// ID or Amazon Resource Name (ARN) of the listener
	ListenerIdentifier string `pulumi:"listenerIdentifier"`
	// ID or Amazon Resource Name (ARN) of the service network
	ServiceIdentifier string `pulumi:"serviceIdentifier"`
	// List of tags associated with the listener.
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getListener.

type LookupListenerOutputArgs

type LookupListenerOutputArgs struct {
	// ID or Amazon Resource Name (ARN) of the listener
	ListenerIdentifier pulumi.StringInput `pulumi:"listenerIdentifier"`
	// ID or Amazon Resource Name (ARN) of the service network
	ServiceIdentifier pulumi.StringInput `pulumi:"serviceIdentifier"`
	// List of tags associated with the listener.
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

A collection of arguments for invoking getListener.

func (LookupListenerOutputArgs) ElementType

func (LookupListenerOutputArgs) ElementType() reflect.Type

type LookupListenerResult

type LookupListenerResult struct {
	// ARN of the listener.
	Arn string `pulumi:"arn"`
	// The date and time that the listener was created.
	CreatedAt string `pulumi:"createdAt"`
	// The actions for the default listener rule.
	DefaultActions []GetListenerDefaultAction `pulumi:"defaultActions"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The date and time the listener was last updated.
	LastUpdatedAt string `pulumi:"lastUpdatedAt"`
	// The ID of the listener.
	ListenerId         string `pulumi:"listenerId"`
	ListenerIdentifier string `pulumi:"listenerIdentifier"`
	// The name of the listener.
	Name string `pulumi:"name"`
	// The listener port.
	Port int `pulumi:"port"`
	// The listener protocol. Either `HTTPS` or `HTTP`.
	Protocol string `pulumi:"protocol"`
	// The ARN of the service.
	ServiceArn string `pulumi:"serviceArn"`
	// The ID of the service.
	ServiceId         string `pulumi:"serviceId"`
	ServiceIdentifier string `pulumi:"serviceIdentifier"`
	// List of tags associated with the listener.
	Tags map[string]string `pulumi:"tags"`
}

A collection of values returned by getListener.

func LookupListener

func LookupListener(ctx *pulumi.Context, args *LookupListenerArgs, opts ...pulumi.InvokeOption) (*LookupListenerResult, error)

Data source for managing an AWS VPC Lattice Listener.

## Example Usage

### Basic Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/vpclattice"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpclattice.LookupListener(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupListenerResultOutput

type LookupListenerResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getListener.

func (LookupListenerResultOutput) Arn

ARN of the listener.

func (LookupListenerResultOutput) CreatedAt

The date and time that the listener was created.

func (LookupListenerResultOutput) DefaultActions

The actions for the default listener rule.

func (LookupListenerResultOutput) ElementType

func (LookupListenerResultOutput) ElementType() reflect.Type

func (LookupListenerResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupListenerResultOutput) LastUpdatedAt

The date and time the listener was last updated.

func (LookupListenerResultOutput) ListenerId

The ID of the listener.

func (LookupListenerResultOutput) ListenerIdentifier

func (o LookupListenerResultOutput) ListenerIdentifier() pulumi.StringOutput

func (LookupListenerResultOutput) Name

The name of the listener.

func (LookupListenerResultOutput) Port

The listener port.

func (LookupListenerResultOutput) Protocol

The listener protocol. Either `HTTPS` or `HTTP`.

func (LookupListenerResultOutput) ServiceArn

The ARN of the service.

func (LookupListenerResultOutput) ServiceId

The ID of the service.

func (LookupListenerResultOutput) ServiceIdentifier

func (o LookupListenerResultOutput) ServiceIdentifier() pulumi.StringOutput

func (LookupListenerResultOutput) Tags

List of tags associated with the listener.

func (LookupListenerResultOutput) ToLookupListenerResultOutput

func (o LookupListenerResultOutput) ToLookupListenerResultOutput() LookupListenerResultOutput

func (LookupListenerResultOutput) ToLookupListenerResultOutputWithContext

func (o LookupListenerResultOutput) ToLookupListenerResultOutputWithContext(ctx context.Context) LookupListenerResultOutput

type LookupResourcePolicyArgs

type LookupResourcePolicyArgs struct {
	// Resource ARN of the resource for which a policy is retrieved.
	ResourceArn string `pulumi:"resourceArn"`
}

A collection of arguments for invoking getResourcePolicy.

type LookupResourcePolicyOutputArgs

type LookupResourcePolicyOutputArgs struct {
	// Resource ARN of the resource for which a policy is retrieved.
	ResourceArn pulumi.StringInput `pulumi:"resourceArn"`
}

A collection of arguments for invoking getResourcePolicy.

func (LookupResourcePolicyOutputArgs) ElementType

type LookupResourcePolicyResult

type LookupResourcePolicyResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// JSON-encoded string representation of the applied resource policy.
	Policy      string `pulumi:"policy"`
	ResourceArn string `pulumi:"resourceArn"`
}

A collection of values returned by getResourcePolicy.

func LookupResourcePolicy

func LookupResourcePolicy(ctx *pulumi.Context, args *LookupResourcePolicyArgs, opts ...pulumi.InvokeOption) (*LookupResourcePolicyResult, error)

Data source for managing an AWS VPC Lattice Resource Policy.

## Example Usage

### Basic Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/vpclattice"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpclattice.LookupResourcePolicy(ctx, &vpclattice.LookupResourcePolicyArgs{
			ResourceArn: exampleAwsVpclatticeServiceNetwork.Arn,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupResourcePolicyResultOutput

type LookupResourcePolicyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getResourcePolicy.

func (LookupResourcePolicyResultOutput) ElementType

func (LookupResourcePolicyResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupResourcePolicyResultOutput) Policy

JSON-encoded string representation of the applied resource policy.

func (LookupResourcePolicyResultOutput) ResourceArn

func (LookupResourcePolicyResultOutput) ToLookupResourcePolicyResultOutput

func (o LookupResourcePolicyResultOutput) ToLookupResourcePolicyResultOutput() LookupResourcePolicyResultOutput

func (LookupResourcePolicyResultOutput) ToLookupResourcePolicyResultOutputWithContext

func (o LookupResourcePolicyResultOutput) ToLookupResourcePolicyResultOutputWithContext(ctx context.Context) LookupResourcePolicyResultOutput

type LookupServiceArgs

type LookupServiceArgs struct {
	// Service name.
	Name *string `pulumi:"name"`
	// ID or Amazon Resource Name (ARN) of the service.
	ServiceIdentifier *string `pulumi:"serviceIdentifier"`
	// List of tags associated with the service.
	Tags map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getService.

type LookupServiceNetworkArgs

type LookupServiceNetworkArgs struct {
	// Identifier of the service network.
	ServiceNetworkIdentifier string            `pulumi:"serviceNetworkIdentifier"`
	Tags                     map[string]string `pulumi:"tags"`
}

A collection of arguments for invoking getServiceNetwork.

type LookupServiceNetworkOutputArgs

type LookupServiceNetworkOutputArgs struct {
	// Identifier of the service network.
	ServiceNetworkIdentifier pulumi.StringInput    `pulumi:"serviceNetworkIdentifier"`
	Tags                     pulumi.StringMapInput `pulumi:"tags"`
}

A collection of arguments for invoking getServiceNetwork.

func (LookupServiceNetworkOutputArgs) ElementType

type LookupServiceNetworkResult

type LookupServiceNetworkResult struct {
	// ARN of the Service Network.
	Arn string `pulumi:"arn"`
	// Authentication type for the service network. Either `NONE` or `AWS_IAM`.
	AuthType string `pulumi:"authType"`
	// Date and time the service network was created.
	CreatedAt string `pulumi:"createdAt"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Date and time the service network was last updated.
	LastUpdatedAt string `pulumi:"lastUpdatedAt"`
	// Name of the service network.
	Name string `pulumi:"name"`
	// Number of services associated with this service network.
	NumberOfAssociatedServices int `pulumi:"numberOfAssociatedServices"`
	// Number of VPCs associated with this service network.
	NumberOfAssociatedVpcs   int               `pulumi:"numberOfAssociatedVpcs"`
	ServiceNetworkIdentifier string            `pulumi:"serviceNetworkIdentifier"`
	Tags                     map[string]string `pulumi:"tags"`
}

A collection of values returned by getServiceNetwork.

func LookupServiceNetwork

func LookupServiceNetwork(ctx *pulumi.Context, args *LookupServiceNetworkArgs, opts ...pulumi.InvokeOption) (*LookupServiceNetworkResult, error)

Data source for managing an AWS VPC Lattice Service Network.

## Example Usage

### Basic Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/vpclattice"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpclattice.LookupServiceNetwork(ctx, &vpclattice.LookupServiceNetworkArgs{
			ServiceNetworkIdentifier: "snsa-01112223334445556",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupServiceNetworkResultOutput

type LookupServiceNetworkResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getServiceNetwork.

func (LookupServiceNetworkResultOutput) Arn

ARN of the Service Network.

func (LookupServiceNetworkResultOutput) AuthType

Authentication type for the service network. Either `NONE` or `AWS_IAM`.

func (LookupServiceNetworkResultOutput) CreatedAt

Date and time the service network was created.

func (LookupServiceNetworkResultOutput) ElementType

func (LookupServiceNetworkResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupServiceNetworkResultOutput) LastUpdatedAt

Date and time the service network was last updated.

func (LookupServiceNetworkResultOutput) Name

Name of the service network.

func (LookupServiceNetworkResultOutput) NumberOfAssociatedServices

func (o LookupServiceNetworkResultOutput) NumberOfAssociatedServices() pulumi.IntOutput

Number of services associated with this service network.

func (LookupServiceNetworkResultOutput) NumberOfAssociatedVpcs

func (o LookupServiceNetworkResultOutput) NumberOfAssociatedVpcs() pulumi.IntOutput

Number of VPCs associated with this service network.

func (LookupServiceNetworkResultOutput) ServiceNetworkIdentifier

func (o LookupServiceNetworkResultOutput) ServiceNetworkIdentifier() pulumi.StringOutput

func (LookupServiceNetworkResultOutput) Tags

func (LookupServiceNetworkResultOutput) ToLookupServiceNetworkResultOutput

func (o LookupServiceNetworkResultOutput) ToLookupServiceNetworkResultOutput() LookupServiceNetworkResultOutput

func (LookupServiceNetworkResultOutput) ToLookupServiceNetworkResultOutputWithContext

func (o LookupServiceNetworkResultOutput) ToLookupServiceNetworkResultOutputWithContext(ctx context.Context) LookupServiceNetworkResultOutput

type LookupServiceOutputArgs

type LookupServiceOutputArgs struct {
	// Service name.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// ID or Amazon Resource Name (ARN) of the service.
	ServiceIdentifier pulumi.StringPtrInput `pulumi:"serviceIdentifier"`
	// List of tags associated with the service.
	Tags pulumi.StringMapInput `pulumi:"tags"`
}

A collection of arguments for invoking getService.

func (LookupServiceOutputArgs) ElementType

func (LookupServiceOutputArgs) ElementType() reflect.Type

type LookupServiceResult

type LookupServiceResult struct {
	// ARN of the service.
	Arn string `pulumi:"arn"`
	// Type of IAM policy. Either `NONE` or `AWS_IAM`.
	AuthType string `pulumi:"authType"`
	// Amazon Resource Name (ARN) of the certificate.
	CertificateArn string `pulumi:"certificateArn"`
	// Custom domain name of the service.
	CustomDomainName string `pulumi:"customDomainName"`
	// DNS name of the service.
	DnsEntries []GetServiceDnsEntry `pulumi:"dnsEntries"`
	// The provider-assigned unique ID for this managed resource.
	Id                string `pulumi:"id"`
	Name              string `pulumi:"name"`
	ServiceIdentifier string `pulumi:"serviceIdentifier"`
	// Status of the service.
	Status string `pulumi:"status"`
	// List of tags associated with the service.
	Tags map[string]string `pulumi:"tags"`
}

A collection of values returned by getService.

func LookupService

func LookupService(ctx *pulumi.Context, args *LookupServiceArgs, opts ...pulumi.InvokeOption) (*LookupServiceResult, error)

Data source for managing an AWS VPC Lattice Service.

## Example Usage

### Basic Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/vpclattice"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpclattice.LookupService(ctx, &vpclattice.LookupServiceArgs{
			Name: pulumi.StringRef("example"),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

type LookupServiceResultOutput

type LookupServiceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getService.

func (LookupServiceResultOutput) Arn

ARN of the service.

func (LookupServiceResultOutput) AuthType

Type of IAM policy. Either `NONE` or `AWS_IAM`.

func (LookupServiceResultOutput) CertificateArn

func (o LookupServiceResultOutput) CertificateArn() pulumi.StringOutput

Amazon Resource Name (ARN) of the certificate.

func (LookupServiceResultOutput) CustomDomainName

func (o LookupServiceResultOutput) CustomDomainName() pulumi.StringOutput

Custom domain name of the service.

func (LookupServiceResultOutput) DnsEntries

DNS name of the service.

func (LookupServiceResultOutput) ElementType

func (LookupServiceResultOutput) ElementType() reflect.Type

func (LookupServiceResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupServiceResultOutput) Name

func (LookupServiceResultOutput) ServiceIdentifier

func (o LookupServiceResultOutput) ServiceIdentifier() pulumi.StringOutput

func (LookupServiceResultOutput) Status

Status of the service.

func (LookupServiceResultOutput) Tags

List of tags associated with the service.

func (LookupServiceResultOutput) ToLookupServiceResultOutput

func (o LookupServiceResultOutput) ToLookupServiceResultOutput() LookupServiceResultOutput

func (LookupServiceResultOutput) ToLookupServiceResultOutputWithContext

func (o LookupServiceResultOutput) ToLookupServiceResultOutputWithContext(ctx context.Context) LookupServiceResultOutput

type ResourcePolicy

type ResourcePolicy struct {
	pulumi.CustomResourceState

	// An IAM policy. The policy string in JSON must not contain newlines or blank lines.
	Policy pulumi.StringOutput `pulumi:"policy"`
	// The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.
	ResourceArn pulumi.StringOutput `pulumi:"resourceArn"`
}

Resource for managing an AWS VPC Lattice Resource Policy.

## Example Usage

### Basic Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"encoding/json"
"fmt"

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws"
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/vpclattice"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		current, err := aws.GetCallerIdentity(ctx, nil, nil)
		if err != nil {
			return err
		}
		currentGetPartition, err := aws.GetPartition(ctx, nil, nil)
		if err != nil {
			return err
		}
		example, err := vpclattice.NewServiceNetwork(ctx, "example", &vpclattice.ServiceNetworkArgs{
			Name: pulumi.String("example-vpclattice-service-network"),
		})
		if err != nil {
			return err
		}
		_, err = vpclattice.NewResourcePolicy(ctx, "example", &vpclattice.ResourcePolicyArgs{
			ResourceArn: example.Arn,
			Policy: example.Arn.ApplyT(func(arn string) (pulumi.String, error) {
				var _zero pulumi.String
				tmpJSON0, err := json.Marshal(map[string]interface{}{
					"Version": "2012-10-17",
					"Statement": []map[string]interface{}{
						map[string]interface{}{
							"Sid":    "test-pol-principals-6",
							"Effect": "Allow",
							"Principal": map[string]interface{}{
								"AWS": fmt.Sprintf("arn:%v:iam::%v:root", currentGetPartition.Partition, current.AccountId),
							},
							"Action": []string{
								"vpc-lattice:CreateServiceNetworkVpcAssociation",
								"vpc-lattice:CreateServiceNetworkServiceAssociation",
								"vpc-lattice:GetServiceNetwork",
							},
							"Resource": arn,
						},
					},
				})
				if err != nil {
					return _zero, err
				}
				json0 := string(tmpJSON0)
				return pulumi.String(json0), nil
			}).(pulumi.StringOutput),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Using `pulumi import`, import VPC Lattice Resource Policy using the `resource_arn`. For example:

```sh $ pulumi import aws:vpclattice/resourcePolicy:ResourcePolicy example rft-8012925589 ```

func GetResourcePolicy

func GetResourcePolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ResourcePolicyState, opts ...pulumi.ResourceOption) (*ResourcePolicy, error)

GetResourcePolicy gets an existing ResourcePolicy 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 NewResourcePolicy

func NewResourcePolicy(ctx *pulumi.Context,
	name string, args *ResourcePolicyArgs, opts ...pulumi.ResourceOption) (*ResourcePolicy, error)

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

func (*ResourcePolicy) ElementType

func (*ResourcePolicy) ElementType() reflect.Type

func (*ResourcePolicy) ToResourcePolicyOutput

func (i *ResourcePolicy) ToResourcePolicyOutput() ResourcePolicyOutput

func (*ResourcePolicy) ToResourcePolicyOutputWithContext

func (i *ResourcePolicy) ToResourcePolicyOutputWithContext(ctx context.Context) ResourcePolicyOutput

type ResourcePolicyArgs

type ResourcePolicyArgs struct {
	// An IAM policy. The policy string in JSON must not contain newlines or blank lines.
	Policy pulumi.StringInput
	// The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.
	ResourceArn pulumi.StringInput
}

The set of arguments for constructing a ResourcePolicy resource.

func (ResourcePolicyArgs) ElementType

func (ResourcePolicyArgs) ElementType() reflect.Type

type ResourcePolicyArray

type ResourcePolicyArray []ResourcePolicyInput

func (ResourcePolicyArray) ElementType

func (ResourcePolicyArray) ElementType() reflect.Type

func (ResourcePolicyArray) ToResourcePolicyArrayOutput

func (i ResourcePolicyArray) ToResourcePolicyArrayOutput() ResourcePolicyArrayOutput

func (ResourcePolicyArray) ToResourcePolicyArrayOutputWithContext

func (i ResourcePolicyArray) ToResourcePolicyArrayOutputWithContext(ctx context.Context) ResourcePolicyArrayOutput

type ResourcePolicyArrayInput

type ResourcePolicyArrayInput interface {
	pulumi.Input

	ToResourcePolicyArrayOutput() ResourcePolicyArrayOutput
	ToResourcePolicyArrayOutputWithContext(context.Context) ResourcePolicyArrayOutput
}

ResourcePolicyArrayInput is an input type that accepts ResourcePolicyArray and ResourcePolicyArrayOutput values. You can construct a concrete instance of `ResourcePolicyArrayInput` via:

ResourcePolicyArray{ ResourcePolicyArgs{...} }

type ResourcePolicyArrayOutput

type ResourcePolicyArrayOutput struct{ *pulumi.OutputState }

func (ResourcePolicyArrayOutput) ElementType

func (ResourcePolicyArrayOutput) ElementType() reflect.Type

func (ResourcePolicyArrayOutput) Index

func (ResourcePolicyArrayOutput) ToResourcePolicyArrayOutput

func (o ResourcePolicyArrayOutput) ToResourcePolicyArrayOutput() ResourcePolicyArrayOutput

func (ResourcePolicyArrayOutput) ToResourcePolicyArrayOutputWithContext

func (o ResourcePolicyArrayOutput) ToResourcePolicyArrayOutputWithContext(ctx context.Context) ResourcePolicyArrayOutput

type ResourcePolicyInput

type ResourcePolicyInput interface {
	pulumi.Input

	ToResourcePolicyOutput() ResourcePolicyOutput
	ToResourcePolicyOutputWithContext(ctx context.Context) ResourcePolicyOutput
}

type ResourcePolicyMap

type ResourcePolicyMap map[string]ResourcePolicyInput

func (ResourcePolicyMap) ElementType

func (ResourcePolicyMap) ElementType() reflect.Type

func (ResourcePolicyMap) ToResourcePolicyMapOutput

func (i ResourcePolicyMap) ToResourcePolicyMapOutput() ResourcePolicyMapOutput

func (ResourcePolicyMap) ToResourcePolicyMapOutputWithContext

func (i ResourcePolicyMap) ToResourcePolicyMapOutputWithContext(ctx context.Context) ResourcePolicyMapOutput

type ResourcePolicyMapInput

type ResourcePolicyMapInput interface {
	pulumi.Input

	ToResourcePolicyMapOutput() ResourcePolicyMapOutput
	ToResourcePolicyMapOutputWithContext(context.Context) ResourcePolicyMapOutput
}

ResourcePolicyMapInput is an input type that accepts ResourcePolicyMap and ResourcePolicyMapOutput values. You can construct a concrete instance of `ResourcePolicyMapInput` via:

ResourcePolicyMap{ "key": ResourcePolicyArgs{...} }

type ResourcePolicyMapOutput

type ResourcePolicyMapOutput struct{ *pulumi.OutputState }

func (ResourcePolicyMapOutput) ElementType

func (ResourcePolicyMapOutput) ElementType() reflect.Type

func (ResourcePolicyMapOutput) MapIndex

func (ResourcePolicyMapOutput) ToResourcePolicyMapOutput

func (o ResourcePolicyMapOutput) ToResourcePolicyMapOutput() ResourcePolicyMapOutput

func (ResourcePolicyMapOutput) ToResourcePolicyMapOutputWithContext

func (o ResourcePolicyMapOutput) ToResourcePolicyMapOutputWithContext(ctx context.Context) ResourcePolicyMapOutput

type ResourcePolicyOutput

type ResourcePolicyOutput struct{ *pulumi.OutputState }

func (ResourcePolicyOutput) ElementType

func (ResourcePolicyOutput) ElementType() reflect.Type

func (ResourcePolicyOutput) Policy

An IAM policy. The policy string in JSON must not contain newlines or blank lines.

func (ResourcePolicyOutput) ResourceArn

func (o ResourcePolicyOutput) ResourceArn() pulumi.StringOutput

The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.

func (ResourcePolicyOutput) ToResourcePolicyOutput

func (o ResourcePolicyOutput) ToResourcePolicyOutput() ResourcePolicyOutput

func (ResourcePolicyOutput) ToResourcePolicyOutputWithContext

func (o ResourcePolicyOutput) ToResourcePolicyOutputWithContext(ctx context.Context) ResourcePolicyOutput

type ResourcePolicyState

type ResourcePolicyState struct {
	// An IAM policy. The policy string in JSON must not contain newlines or blank lines.
	Policy pulumi.StringPtrInput
	// The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.
	ResourceArn pulumi.StringPtrInput
}

func (ResourcePolicyState) ElementType

func (ResourcePolicyState) ElementType() reflect.Type

type Service

type Service struct {
	pulumi.CustomResourceState

	// ARN of the service.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Type of IAM policy. Either `NONE` or `AWS_IAM`.
	AuthType pulumi.StringOutput `pulumi:"authType"`
	// Amazon Resource Name (ARN) of the certificate.
	CertificateArn pulumi.StringPtrOutput `pulumi:"certificateArn"`
	// Custom domain name of the service.
	CustomDomainName pulumi.StringPtrOutput `pulumi:"customDomainName"`
	// DNS name of the service.
	DnsEntries ServiceDnsEntryArrayOutput `pulumi:"dnsEntries"`
	// Name of the service. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.Must be between 3 and 40 characters in length.
	//
	// The following arguments are optional:
	Name pulumi.StringOutput `pulumi:"name"`
	// Status of the service.
	Status pulumi.StringOutput `pulumi:"status"`
	// Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Resource for managing an AWS VPC Lattice Service.

## Example Usage

### Basic Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/vpclattice"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpclattice.NewService(ctx, "example", &vpclattice.ServiceArgs{
			Name:             pulumi.String("example"),
			AuthType:         pulumi.String("AWS_IAM"),
			CustomDomainName: pulumi.String("example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Using `pulumi import`, import VPC Lattice Service using the `id`. For example:

```sh $ pulumi import aws:vpclattice/service:Service example svc-06728e2357ea55f8a ```

func GetService

func GetService(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceState, opts ...pulumi.ResourceOption) (*Service, error)

GetService gets an existing Service 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 NewService

func NewService(ctx *pulumi.Context,
	name string, args *ServiceArgs, opts ...pulumi.ResourceOption) (*Service, error)

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

func (*Service) ElementType

func (*Service) ElementType() reflect.Type

func (*Service) ToServiceOutput

func (i *Service) ToServiceOutput() ServiceOutput

func (*Service) ToServiceOutputWithContext

func (i *Service) ToServiceOutputWithContext(ctx context.Context) ServiceOutput

type ServiceArgs

type ServiceArgs struct {
	// Type of IAM policy. Either `NONE` or `AWS_IAM`.
	AuthType pulumi.StringPtrInput
	// Amazon Resource Name (ARN) of the certificate.
	CertificateArn pulumi.StringPtrInput
	// Custom domain name of the service.
	CustomDomainName pulumi.StringPtrInput
	// Name of the service. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.Must be between 3 and 40 characters in length.
	//
	// The following arguments are optional:
	Name pulumi.StringPtrInput
	// Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Service resource.

func (ServiceArgs) ElementType

func (ServiceArgs) ElementType() reflect.Type

type ServiceArray

type ServiceArray []ServiceInput

func (ServiceArray) ElementType

func (ServiceArray) ElementType() reflect.Type

func (ServiceArray) ToServiceArrayOutput

func (i ServiceArray) ToServiceArrayOutput() ServiceArrayOutput

func (ServiceArray) ToServiceArrayOutputWithContext

func (i ServiceArray) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput

type ServiceArrayInput

type ServiceArrayInput interface {
	pulumi.Input

	ToServiceArrayOutput() ServiceArrayOutput
	ToServiceArrayOutputWithContext(context.Context) ServiceArrayOutput
}

ServiceArrayInput is an input type that accepts ServiceArray and ServiceArrayOutput values. You can construct a concrete instance of `ServiceArrayInput` via:

ServiceArray{ ServiceArgs{...} }

type ServiceArrayOutput

type ServiceArrayOutput struct{ *pulumi.OutputState }

func (ServiceArrayOutput) ElementType

func (ServiceArrayOutput) ElementType() reflect.Type

func (ServiceArrayOutput) Index

func (ServiceArrayOutput) ToServiceArrayOutput

func (o ServiceArrayOutput) ToServiceArrayOutput() ServiceArrayOutput

func (ServiceArrayOutput) ToServiceArrayOutputWithContext

func (o ServiceArrayOutput) ToServiceArrayOutputWithContext(ctx context.Context) ServiceArrayOutput

type ServiceDnsEntry

type ServiceDnsEntry struct {
	DomainName   *string `pulumi:"domainName"`
	HostedZoneId *string `pulumi:"hostedZoneId"`
}

type ServiceDnsEntryArgs

type ServiceDnsEntryArgs struct {
	DomainName   pulumi.StringPtrInput `pulumi:"domainName"`
	HostedZoneId pulumi.StringPtrInput `pulumi:"hostedZoneId"`
}

func (ServiceDnsEntryArgs) ElementType

func (ServiceDnsEntryArgs) ElementType() reflect.Type

func (ServiceDnsEntryArgs) ToServiceDnsEntryOutput

func (i ServiceDnsEntryArgs) ToServiceDnsEntryOutput() ServiceDnsEntryOutput

func (ServiceDnsEntryArgs) ToServiceDnsEntryOutputWithContext

func (i ServiceDnsEntryArgs) ToServiceDnsEntryOutputWithContext(ctx context.Context) ServiceDnsEntryOutput

type ServiceDnsEntryArray

type ServiceDnsEntryArray []ServiceDnsEntryInput

func (ServiceDnsEntryArray) ElementType

func (ServiceDnsEntryArray) ElementType() reflect.Type

func (ServiceDnsEntryArray) ToServiceDnsEntryArrayOutput

func (i ServiceDnsEntryArray) ToServiceDnsEntryArrayOutput() ServiceDnsEntryArrayOutput

func (ServiceDnsEntryArray) ToServiceDnsEntryArrayOutputWithContext

func (i ServiceDnsEntryArray) ToServiceDnsEntryArrayOutputWithContext(ctx context.Context) ServiceDnsEntryArrayOutput

type ServiceDnsEntryArrayInput

type ServiceDnsEntryArrayInput interface {
	pulumi.Input

	ToServiceDnsEntryArrayOutput() ServiceDnsEntryArrayOutput
	ToServiceDnsEntryArrayOutputWithContext(context.Context) ServiceDnsEntryArrayOutput
}

ServiceDnsEntryArrayInput is an input type that accepts ServiceDnsEntryArray and ServiceDnsEntryArrayOutput values. You can construct a concrete instance of `ServiceDnsEntryArrayInput` via:

ServiceDnsEntryArray{ ServiceDnsEntryArgs{...} }

type ServiceDnsEntryArrayOutput

type ServiceDnsEntryArrayOutput struct{ *pulumi.OutputState }

func (ServiceDnsEntryArrayOutput) ElementType

func (ServiceDnsEntryArrayOutput) ElementType() reflect.Type

func (ServiceDnsEntryArrayOutput) Index

func (ServiceDnsEntryArrayOutput) ToServiceDnsEntryArrayOutput

func (o ServiceDnsEntryArrayOutput) ToServiceDnsEntryArrayOutput() ServiceDnsEntryArrayOutput

func (ServiceDnsEntryArrayOutput) ToServiceDnsEntryArrayOutputWithContext

func (o ServiceDnsEntryArrayOutput) ToServiceDnsEntryArrayOutputWithContext(ctx context.Context) ServiceDnsEntryArrayOutput

type ServiceDnsEntryInput

type ServiceDnsEntryInput interface {
	pulumi.Input

	ToServiceDnsEntryOutput() ServiceDnsEntryOutput
	ToServiceDnsEntryOutputWithContext(context.Context) ServiceDnsEntryOutput
}

ServiceDnsEntryInput is an input type that accepts ServiceDnsEntryArgs and ServiceDnsEntryOutput values. You can construct a concrete instance of `ServiceDnsEntryInput` via:

ServiceDnsEntryArgs{...}

type ServiceDnsEntryOutput

type ServiceDnsEntryOutput struct{ *pulumi.OutputState }

func (ServiceDnsEntryOutput) DomainName

func (ServiceDnsEntryOutput) ElementType

func (ServiceDnsEntryOutput) ElementType() reflect.Type

func (ServiceDnsEntryOutput) HostedZoneId

func (o ServiceDnsEntryOutput) HostedZoneId() pulumi.StringPtrOutput

func (ServiceDnsEntryOutput) ToServiceDnsEntryOutput

func (o ServiceDnsEntryOutput) ToServiceDnsEntryOutput() ServiceDnsEntryOutput

func (ServiceDnsEntryOutput) ToServiceDnsEntryOutputWithContext

func (o ServiceDnsEntryOutput) ToServiceDnsEntryOutputWithContext(ctx context.Context) ServiceDnsEntryOutput

type ServiceInput

type ServiceInput interface {
	pulumi.Input

	ToServiceOutput() ServiceOutput
	ToServiceOutputWithContext(ctx context.Context) ServiceOutput
}

type ServiceMap

type ServiceMap map[string]ServiceInput

func (ServiceMap) ElementType

func (ServiceMap) ElementType() reflect.Type

func (ServiceMap) ToServiceMapOutput

func (i ServiceMap) ToServiceMapOutput() ServiceMapOutput

func (ServiceMap) ToServiceMapOutputWithContext

func (i ServiceMap) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput

type ServiceMapInput

type ServiceMapInput interface {
	pulumi.Input

	ToServiceMapOutput() ServiceMapOutput
	ToServiceMapOutputWithContext(context.Context) ServiceMapOutput
}

ServiceMapInput is an input type that accepts ServiceMap and ServiceMapOutput values. You can construct a concrete instance of `ServiceMapInput` via:

ServiceMap{ "key": ServiceArgs{...} }

type ServiceMapOutput

type ServiceMapOutput struct{ *pulumi.OutputState }

func (ServiceMapOutput) ElementType

func (ServiceMapOutput) ElementType() reflect.Type

func (ServiceMapOutput) MapIndex

func (ServiceMapOutput) ToServiceMapOutput

func (o ServiceMapOutput) ToServiceMapOutput() ServiceMapOutput

func (ServiceMapOutput) ToServiceMapOutputWithContext

func (o ServiceMapOutput) ToServiceMapOutputWithContext(ctx context.Context) ServiceMapOutput

type ServiceNetwork

type ServiceNetwork struct {
	pulumi.CustomResourceState

	// ARN of the Service Network.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Type of IAM policy. Either `NONE` or `AWS_IAM`.
	AuthType pulumi.StringOutput `pulumi:"authType"`
	// Name of the service network
	//
	// The following arguments are optional:
	Name pulumi.StringOutput `pulumi:"name"`
	// Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Resource for managing an AWS VPC Lattice Service Network.

## Example Usage

### Basic Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/vpclattice"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpclattice.NewServiceNetwork(ctx, "example", &vpclattice.ServiceNetworkArgs{
			Name:     pulumi.String("example"),
			AuthType: pulumi.String("AWS_IAM"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Using `pulumi import`, import VPC Lattice Service Network using the `id`. For example:

```sh $ pulumi import aws:vpclattice/serviceNetwork:ServiceNetwork example sn-0158f91c1e3358dba ```

func GetServiceNetwork

func GetServiceNetwork(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceNetworkState, opts ...pulumi.ResourceOption) (*ServiceNetwork, error)

GetServiceNetwork gets an existing ServiceNetwork 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 NewServiceNetwork

func NewServiceNetwork(ctx *pulumi.Context,
	name string, args *ServiceNetworkArgs, opts ...pulumi.ResourceOption) (*ServiceNetwork, error)

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

func (*ServiceNetwork) ElementType

func (*ServiceNetwork) ElementType() reflect.Type

func (*ServiceNetwork) ToServiceNetworkOutput

func (i *ServiceNetwork) ToServiceNetworkOutput() ServiceNetworkOutput

func (*ServiceNetwork) ToServiceNetworkOutputWithContext

func (i *ServiceNetwork) ToServiceNetworkOutputWithContext(ctx context.Context) ServiceNetworkOutput

type ServiceNetworkArgs

type ServiceNetworkArgs struct {
	// Type of IAM policy. Either `NONE` or `AWS_IAM`.
	AuthType pulumi.StringPtrInput
	// Name of the service network
	//
	// The following arguments are optional:
	Name pulumi.StringPtrInput
	// Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a ServiceNetwork resource.

func (ServiceNetworkArgs) ElementType

func (ServiceNetworkArgs) ElementType() reflect.Type

type ServiceNetworkArray

type ServiceNetworkArray []ServiceNetworkInput

func (ServiceNetworkArray) ElementType

func (ServiceNetworkArray) ElementType() reflect.Type

func (ServiceNetworkArray) ToServiceNetworkArrayOutput

func (i ServiceNetworkArray) ToServiceNetworkArrayOutput() ServiceNetworkArrayOutput

func (ServiceNetworkArray) ToServiceNetworkArrayOutputWithContext

func (i ServiceNetworkArray) ToServiceNetworkArrayOutputWithContext(ctx context.Context) ServiceNetworkArrayOutput

type ServiceNetworkArrayInput

type ServiceNetworkArrayInput interface {
	pulumi.Input

	ToServiceNetworkArrayOutput() ServiceNetworkArrayOutput
	ToServiceNetworkArrayOutputWithContext(context.Context) ServiceNetworkArrayOutput
}

ServiceNetworkArrayInput is an input type that accepts ServiceNetworkArray and ServiceNetworkArrayOutput values. You can construct a concrete instance of `ServiceNetworkArrayInput` via:

ServiceNetworkArray{ ServiceNetworkArgs{...} }

type ServiceNetworkArrayOutput

type ServiceNetworkArrayOutput struct{ *pulumi.OutputState }

func (ServiceNetworkArrayOutput) ElementType

func (ServiceNetworkArrayOutput) ElementType() reflect.Type

func (ServiceNetworkArrayOutput) Index

func (ServiceNetworkArrayOutput) ToServiceNetworkArrayOutput

func (o ServiceNetworkArrayOutput) ToServiceNetworkArrayOutput() ServiceNetworkArrayOutput

func (ServiceNetworkArrayOutput) ToServiceNetworkArrayOutputWithContext

func (o ServiceNetworkArrayOutput) ToServiceNetworkArrayOutputWithContext(ctx context.Context) ServiceNetworkArrayOutput

type ServiceNetworkInput

type ServiceNetworkInput interface {
	pulumi.Input

	ToServiceNetworkOutput() ServiceNetworkOutput
	ToServiceNetworkOutputWithContext(ctx context.Context) ServiceNetworkOutput
}

type ServiceNetworkMap

type ServiceNetworkMap map[string]ServiceNetworkInput

func (ServiceNetworkMap) ElementType

func (ServiceNetworkMap) ElementType() reflect.Type

func (ServiceNetworkMap) ToServiceNetworkMapOutput

func (i ServiceNetworkMap) ToServiceNetworkMapOutput() ServiceNetworkMapOutput

func (ServiceNetworkMap) ToServiceNetworkMapOutputWithContext

func (i ServiceNetworkMap) ToServiceNetworkMapOutputWithContext(ctx context.Context) ServiceNetworkMapOutput

type ServiceNetworkMapInput

type ServiceNetworkMapInput interface {
	pulumi.Input

	ToServiceNetworkMapOutput() ServiceNetworkMapOutput
	ToServiceNetworkMapOutputWithContext(context.Context) ServiceNetworkMapOutput
}

ServiceNetworkMapInput is an input type that accepts ServiceNetworkMap and ServiceNetworkMapOutput values. You can construct a concrete instance of `ServiceNetworkMapInput` via:

ServiceNetworkMap{ "key": ServiceNetworkArgs{...} }

type ServiceNetworkMapOutput

type ServiceNetworkMapOutput struct{ *pulumi.OutputState }

func (ServiceNetworkMapOutput) ElementType

func (ServiceNetworkMapOutput) ElementType() reflect.Type

func (ServiceNetworkMapOutput) MapIndex

func (ServiceNetworkMapOutput) ToServiceNetworkMapOutput

func (o ServiceNetworkMapOutput) ToServiceNetworkMapOutput() ServiceNetworkMapOutput

func (ServiceNetworkMapOutput) ToServiceNetworkMapOutputWithContext

func (o ServiceNetworkMapOutput) ToServiceNetworkMapOutputWithContext(ctx context.Context) ServiceNetworkMapOutput

type ServiceNetworkOutput

type ServiceNetworkOutput struct{ *pulumi.OutputState }

func (ServiceNetworkOutput) Arn

ARN of the Service Network.

func (ServiceNetworkOutput) AuthType

Type of IAM policy. Either `NONE` or `AWS_IAM`.

func (ServiceNetworkOutput) ElementType

func (ServiceNetworkOutput) ElementType() reflect.Type

func (ServiceNetworkOutput) Name

Name of the service network

The following arguments are optional:

func (ServiceNetworkOutput) Tags

Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (ServiceNetworkOutput) TagsAll deprecated

Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (ServiceNetworkOutput) ToServiceNetworkOutput

func (o ServiceNetworkOutput) ToServiceNetworkOutput() ServiceNetworkOutput

func (ServiceNetworkOutput) ToServiceNetworkOutputWithContext

func (o ServiceNetworkOutput) ToServiceNetworkOutputWithContext(ctx context.Context) ServiceNetworkOutput

type ServiceNetworkServiceAssociation

type ServiceNetworkServiceAssociation struct {
	pulumi.CustomResourceState

	// The ARN of the Association.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The account that created the association.
	CreatedBy pulumi.StringOutput `pulumi:"createdBy"`
	// The custom domain name of the service.
	CustomDomainName pulumi.StringOutput `pulumi:"customDomainName"`
	// The DNS name of the service.
	DnsEntries ServiceNetworkServiceAssociationDnsEntryArrayOutput `pulumi:"dnsEntries"`
	// The ID or Amazon Resource Identifier (ARN) of the service.
	ServiceIdentifier pulumi.StringOutput `pulumi:"serviceIdentifier"`
	// The ID or Amazon Resource Identifier (ARN) of the service network. You must use the ARN if the resources specified in the operation are in different accounts.
	// The following arguments are optional:
	ServiceNetworkIdentifier pulumi.StringOutput `pulumi:"serviceNetworkIdentifier"`
	// The operations status. Valid Values are CREATE_IN_PROGRESS | ACTIVE | DELETE_IN_PROGRESS | CREATE_FAILED | DELETE_FAILED
	Status pulumi.StringOutput `pulumi:"status"`
	// Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Resource for managing an AWS VPC Lattice Service Network Service Association.

## Example Usage

### Basic Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/vpclattice"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpclattice.NewServiceNetworkServiceAssociation(ctx, "example", &vpclattice.ServiceNetworkServiceAssociationArgs{
			ServiceIdentifier:        pulumi.Any(exampleAwsVpclatticeService.Id),
			ServiceNetworkIdentifier: pulumi.Any(exampleAwsVpclatticeServiceNetwork.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Using `pulumi import`, import VPC Lattice Service Network Service Association using the `id`. For example:

```sh $ pulumi import aws:vpclattice/serviceNetworkServiceAssociation:ServiceNetworkServiceAssociation example snsa-05e2474658a88f6ba ```

func GetServiceNetworkServiceAssociation

func GetServiceNetworkServiceAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceNetworkServiceAssociationState, opts ...pulumi.ResourceOption) (*ServiceNetworkServiceAssociation, error)

GetServiceNetworkServiceAssociation gets an existing ServiceNetworkServiceAssociation 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 NewServiceNetworkServiceAssociation

func NewServiceNetworkServiceAssociation(ctx *pulumi.Context,
	name string, args *ServiceNetworkServiceAssociationArgs, opts ...pulumi.ResourceOption) (*ServiceNetworkServiceAssociation, error)

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

func (*ServiceNetworkServiceAssociation) ElementType

func (*ServiceNetworkServiceAssociation) ToServiceNetworkServiceAssociationOutput

func (i *ServiceNetworkServiceAssociation) ToServiceNetworkServiceAssociationOutput() ServiceNetworkServiceAssociationOutput

func (*ServiceNetworkServiceAssociation) ToServiceNetworkServiceAssociationOutputWithContext

func (i *ServiceNetworkServiceAssociation) ToServiceNetworkServiceAssociationOutputWithContext(ctx context.Context) ServiceNetworkServiceAssociationOutput

type ServiceNetworkServiceAssociationArgs

type ServiceNetworkServiceAssociationArgs struct {
	// The ID or Amazon Resource Identifier (ARN) of the service.
	ServiceIdentifier pulumi.StringInput
	// The ID or Amazon Resource Identifier (ARN) of the service network. You must use the ARN if the resources specified in the operation are in different accounts.
	// The following arguments are optional:
	ServiceNetworkIdentifier pulumi.StringInput
	// Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a ServiceNetworkServiceAssociation resource.

func (ServiceNetworkServiceAssociationArgs) ElementType

type ServiceNetworkServiceAssociationArray

type ServiceNetworkServiceAssociationArray []ServiceNetworkServiceAssociationInput

func (ServiceNetworkServiceAssociationArray) ElementType

func (ServiceNetworkServiceAssociationArray) ToServiceNetworkServiceAssociationArrayOutput

func (i ServiceNetworkServiceAssociationArray) ToServiceNetworkServiceAssociationArrayOutput() ServiceNetworkServiceAssociationArrayOutput

func (ServiceNetworkServiceAssociationArray) ToServiceNetworkServiceAssociationArrayOutputWithContext

func (i ServiceNetworkServiceAssociationArray) ToServiceNetworkServiceAssociationArrayOutputWithContext(ctx context.Context) ServiceNetworkServiceAssociationArrayOutput

type ServiceNetworkServiceAssociationArrayInput

type ServiceNetworkServiceAssociationArrayInput interface {
	pulumi.Input

	ToServiceNetworkServiceAssociationArrayOutput() ServiceNetworkServiceAssociationArrayOutput
	ToServiceNetworkServiceAssociationArrayOutputWithContext(context.Context) ServiceNetworkServiceAssociationArrayOutput
}

ServiceNetworkServiceAssociationArrayInput is an input type that accepts ServiceNetworkServiceAssociationArray and ServiceNetworkServiceAssociationArrayOutput values. You can construct a concrete instance of `ServiceNetworkServiceAssociationArrayInput` via:

ServiceNetworkServiceAssociationArray{ ServiceNetworkServiceAssociationArgs{...} }

type ServiceNetworkServiceAssociationArrayOutput

type ServiceNetworkServiceAssociationArrayOutput struct{ *pulumi.OutputState }

func (ServiceNetworkServiceAssociationArrayOutput) ElementType

func (ServiceNetworkServiceAssociationArrayOutput) Index

func (ServiceNetworkServiceAssociationArrayOutput) ToServiceNetworkServiceAssociationArrayOutput

func (o ServiceNetworkServiceAssociationArrayOutput) ToServiceNetworkServiceAssociationArrayOutput() ServiceNetworkServiceAssociationArrayOutput

func (ServiceNetworkServiceAssociationArrayOutput) ToServiceNetworkServiceAssociationArrayOutputWithContext

func (o ServiceNetworkServiceAssociationArrayOutput) ToServiceNetworkServiceAssociationArrayOutputWithContext(ctx context.Context) ServiceNetworkServiceAssociationArrayOutput

type ServiceNetworkServiceAssociationDnsEntry

type ServiceNetworkServiceAssociationDnsEntry struct {
	// The domain name of the service.
	DomainName *string `pulumi:"domainName"`
	// The ID of the hosted zone.
	HostedZoneId *string `pulumi:"hostedZoneId"`
}

type ServiceNetworkServiceAssociationDnsEntryArgs

type ServiceNetworkServiceAssociationDnsEntryArgs struct {
	// The domain name of the service.
	DomainName pulumi.StringPtrInput `pulumi:"domainName"`
	// The ID of the hosted zone.
	HostedZoneId pulumi.StringPtrInput `pulumi:"hostedZoneId"`
}

func (ServiceNetworkServiceAssociationDnsEntryArgs) ElementType

func (ServiceNetworkServiceAssociationDnsEntryArgs) ToServiceNetworkServiceAssociationDnsEntryOutput

func (i ServiceNetworkServiceAssociationDnsEntryArgs) ToServiceNetworkServiceAssociationDnsEntryOutput() ServiceNetworkServiceAssociationDnsEntryOutput

func (ServiceNetworkServiceAssociationDnsEntryArgs) ToServiceNetworkServiceAssociationDnsEntryOutputWithContext

func (i ServiceNetworkServiceAssociationDnsEntryArgs) ToServiceNetworkServiceAssociationDnsEntryOutputWithContext(ctx context.Context) ServiceNetworkServiceAssociationDnsEntryOutput

type ServiceNetworkServiceAssociationDnsEntryArray

type ServiceNetworkServiceAssociationDnsEntryArray []ServiceNetworkServiceAssociationDnsEntryInput

func (ServiceNetworkServiceAssociationDnsEntryArray) ElementType

func (ServiceNetworkServiceAssociationDnsEntryArray) ToServiceNetworkServiceAssociationDnsEntryArrayOutput

func (i ServiceNetworkServiceAssociationDnsEntryArray) ToServiceNetworkServiceAssociationDnsEntryArrayOutput() ServiceNetworkServiceAssociationDnsEntryArrayOutput

func (ServiceNetworkServiceAssociationDnsEntryArray) ToServiceNetworkServiceAssociationDnsEntryArrayOutputWithContext

func (i ServiceNetworkServiceAssociationDnsEntryArray) ToServiceNetworkServiceAssociationDnsEntryArrayOutputWithContext(ctx context.Context) ServiceNetworkServiceAssociationDnsEntryArrayOutput

type ServiceNetworkServiceAssociationDnsEntryArrayInput

type ServiceNetworkServiceAssociationDnsEntryArrayInput interface {
	pulumi.Input

	ToServiceNetworkServiceAssociationDnsEntryArrayOutput() ServiceNetworkServiceAssociationDnsEntryArrayOutput
	ToServiceNetworkServiceAssociationDnsEntryArrayOutputWithContext(context.Context) ServiceNetworkServiceAssociationDnsEntryArrayOutput
}

ServiceNetworkServiceAssociationDnsEntryArrayInput is an input type that accepts ServiceNetworkServiceAssociationDnsEntryArray and ServiceNetworkServiceAssociationDnsEntryArrayOutput values. You can construct a concrete instance of `ServiceNetworkServiceAssociationDnsEntryArrayInput` via:

ServiceNetworkServiceAssociationDnsEntryArray{ ServiceNetworkServiceAssociationDnsEntryArgs{...} }

type ServiceNetworkServiceAssociationDnsEntryArrayOutput

type ServiceNetworkServiceAssociationDnsEntryArrayOutput struct{ *pulumi.OutputState }

func (ServiceNetworkServiceAssociationDnsEntryArrayOutput) ElementType

func (ServiceNetworkServiceAssociationDnsEntryArrayOutput) Index

func (ServiceNetworkServiceAssociationDnsEntryArrayOutput) ToServiceNetworkServiceAssociationDnsEntryArrayOutput

func (o ServiceNetworkServiceAssociationDnsEntryArrayOutput) ToServiceNetworkServiceAssociationDnsEntryArrayOutput() ServiceNetworkServiceAssociationDnsEntryArrayOutput

func (ServiceNetworkServiceAssociationDnsEntryArrayOutput) ToServiceNetworkServiceAssociationDnsEntryArrayOutputWithContext

func (o ServiceNetworkServiceAssociationDnsEntryArrayOutput) ToServiceNetworkServiceAssociationDnsEntryArrayOutputWithContext(ctx context.Context) ServiceNetworkServiceAssociationDnsEntryArrayOutput

type ServiceNetworkServiceAssociationDnsEntryInput

type ServiceNetworkServiceAssociationDnsEntryInput interface {
	pulumi.Input

	ToServiceNetworkServiceAssociationDnsEntryOutput() ServiceNetworkServiceAssociationDnsEntryOutput
	ToServiceNetworkServiceAssociationDnsEntryOutputWithContext(context.Context) ServiceNetworkServiceAssociationDnsEntryOutput
}

ServiceNetworkServiceAssociationDnsEntryInput is an input type that accepts ServiceNetworkServiceAssociationDnsEntryArgs and ServiceNetworkServiceAssociationDnsEntryOutput values. You can construct a concrete instance of `ServiceNetworkServiceAssociationDnsEntryInput` via:

ServiceNetworkServiceAssociationDnsEntryArgs{...}

type ServiceNetworkServiceAssociationDnsEntryOutput

type ServiceNetworkServiceAssociationDnsEntryOutput struct{ *pulumi.OutputState }

func (ServiceNetworkServiceAssociationDnsEntryOutput) DomainName

The domain name of the service.

func (ServiceNetworkServiceAssociationDnsEntryOutput) ElementType

func (ServiceNetworkServiceAssociationDnsEntryOutput) HostedZoneId

The ID of the hosted zone.

func (ServiceNetworkServiceAssociationDnsEntryOutput) ToServiceNetworkServiceAssociationDnsEntryOutput

func (o ServiceNetworkServiceAssociationDnsEntryOutput) ToServiceNetworkServiceAssociationDnsEntryOutput() ServiceNetworkServiceAssociationDnsEntryOutput

func (ServiceNetworkServiceAssociationDnsEntryOutput) ToServiceNetworkServiceAssociationDnsEntryOutputWithContext

func (o ServiceNetworkServiceAssociationDnsEntryOutput) ToServiceNetworkServiceAssociationDnsEntryOutputWithContext(ctx context.Context) ServiceNetworkServiceAssociationDnsEntryOutput

type ServiceNetworkServiceAssociationInput

type ServiceNetworkServiceAssociationInput interface {
	pulumi.Input

	ToServiceNetworkServiceAssociationOutput() ServiceNetworkServiceAssociationOutput
	ToServiceNetworkServiceAssociationOutputWithContext(ctx context.Context) ServiceNetworkServiceAssociationOutput
}

type ServiceNetworkServiceAssociationMap

type ServiceNetworkServiceAssociationMap map[string]ServiceNetworkServiceAssociationInput

func (ServiceNetworkServiceAssociationMap) ElementType

func (ServiceNetworkServiceAssociationMap) ToServiceNetworkServiceAssociationMapOutput

func (i ServiceNetworkServiceAssociationMap) ToServiceNetworkServiceAssociationMapOutput() ServiceNetworkServiceAssociationMapOutput

func (ServiceNetworkServiceAssociationMap) ToServiceNetworkServiceAssociationMapOutputWithContext

func (i ServiceNetworkServiceAssociationMap) ToServiceNetworkServiceAssociationMapOutputWithContext(ctx context.Context) ServiceNetworkServiceAssociationMapOutput

type ServiceNetworkServiceAssociationMapInput

type ServiceNetworkServiceAssociationMapInput interface {
	pulumi.Input

	ToServiceNetworkServiceAssociationMapOutput() ServiceNetworkServiceAssociationMapOutput
	ToServiceNetworkServiceAssociationMapOutputWithContext(context.Context) ServiceNetworkServiceAssociationMapOutput
}

ServiceNetworkServiceAssociationMapInput is an input type that accepts ServiceNetworkServiceAssociationMap and ServiceNetworkServiceAssociationMapOutput values. You can construct a concrete instance of `ServiceNetworkServiceAssociationMapInput` via:

ServiceNetworkServiceAssociationMap{ "key": ServiceNetworkServiceAssociationArgs{...} }

type ServiceNetworkServiceAssociationMapOutput

type ServiceNetworkServiceAssociationMapOutput struct{ *pulumi.OutputState }

func (ServiceNetworkServiceAssociationMapOutput) ElementType

func (ServiceNetworkServiceAssociationMapOutput) MapIndex

func (ServiceNetworkServiceAssociationMapOutput) ToServiceNetworkServiceAssociationMapOutput

func (o ServiceNetworkServiceAssociationMapOutput) ToServiceNetworkServiceAssociationMapOutput() ServiceNetworkServiceAssociationMapOutput

func (ServiceNetworkServiceAssociationMapOutput) ToServiceNetworkServiceAssociationMapOutputWithContext

func (o ServiceNetworkServiceAssociationMapOutput) ToServiceNetworkServiceAssociationMapOutputWithContext(ctx context.Context) ServiceNetworkServiceAssociationMapOutput

type ServiceNetworkServiceAssociationOutput

type ServiceNetworkServiceAssociationOutput struct{ *pulumi.OutputState }

func (ServiceNetworkServiceAssociationOutput) Arn

The ARN of the Association.

func (ServiceNetworkServiceAssociationOutput) CreatedBy

The account that created the association.

func (ServiceNetworkServiceAssociationOutput) CustomDomainName

The custom domain name of the service.

func (ServiceNetworkServiceAssociationOutput) DnsEntries

The DNS name of the service.

func (ServiceNetworkServiceAssociationOutput) ElementType

func (ServiceNetworkServiceAssociationOutput) ServiceIdentifier

The ID or Amazon Resource Identifier (ARN) of the service.

func (ServiceNetworkServiceAssociationOutput) ServiceNetworkIdentifier

func (o ServiceNetworkServiceAssociationOutput) ServiceNetworkIdentifier() pulumi.StringOutput

The ID or Amazon Resource Identifier (ARN) of the service network. You must use the ARN if the resources specified in the operation are in different accounts. The following arguments are optional:

func (ServiceNetworkServiceAssociationOutput) Status

The operations status. Valid Values are CREATE_IN_PROGRESS | ACTIVE | DELETE_IN_PROGRESS | CREATE_FAILED | DELETE_FAILED

func (ServiceNetworkServiceAssociationOutput) Tags

Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (ServiceNetworkServiceAssociationOutput) TagsAll deprecated

Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (ServiceNetworkServiceAssociationOutput) ToServiceNetworkServiceAssociationOutput

func (o ServiceNetworkServiceAssociationOutput) ToServiceNetworkServiceAssociationOutput() ServiceNetworkServiceAssociationOutput

func (ServiceNetworkServiceAssociationOutput) ToServiceNetworkServiceAssociationOutputWithContext

func (o ServiceNetworkServiceAssociationOutput) ToServiceNetworkServiceAssociationOutputWithContext(ctx context.Context) ServiceNetworkServiceAssociationOutput

type ServiceNetworkServiceAssociationState

type ServiceNetworkServiceAssociationState struct {
	// The ARN of the Association.
	Arn pulumi.StringPtrInput
	// The account that created the association.
	CreatedBy pulumi.StringPtrInput
	// The custom domain name of the service.
	CustomDomainName pulumi.StringPtrInput
	// The DNS name of the service.
	DnsEntries ServiceNetworkServiceAssociationDnsEntryArrayInput
	// The ID or Amazon Resource Identifier (ARN) of the service.
	ServiceIdentifier pulumi.StringPtrInput
	// The ID or Amazon Resource Identifier (ARN) of the service network. You must use the ARN if the resources specified in the operation are in different accounts.
	// The following arguments are optional:
	ServiceNetworkIdentifier pulumi.StringPtrInput
	// The operations status. Valid Values are CREATE_IN_PROGRESS | ACTIVE | DELETE_IN_PROGRESS | CREATE_FAILED | DELETE_FAILED
	Status pulumi.StringPtrInput
	// Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (ServiceNetworkServiceAssociationState) ElementType

type ServiceNetworkState

type ServiceNetworkState struct {
	// ARN of the Service Network.
	Arn pulumi.StringPtrInput
	// Type of IAM policy. Either `NONE` or `AWS_IAM`.
	AuthType pulumi.StringPtrInput
	// Name of the service network
	//
	// The following arguments are optional:
	Name pulumi.StringPtrInput
	// Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (ServiceNetworkState) ElementType

func (ServiceNetworkState) ElementType() reflect.Type

type ServiceNetworkVpcAssociation

type ServiceNetworkVpcAssociation struct {
	pulumi.CustomResourceState

	// The ARN of the Association.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The account that created the association.
	CreatedBy pulumi.StringOutput `pulumi:"createdBy"`
	// The IDs of the security groups.
	SecurityGroupIds pulumi.StringArrayOutput `pulumi:"securityGroupIds"`
	// The ID or Amazon Resource Identifier (ARN) of the service network. You must use the ARN if the resources specified in the operation are in different accounts.
	// The following arguments are optional:
	ServiceNetworkIdentifier pulumi.StringOutput `pulumi:"serviceNetworkIdentifier"`
	// The operations status. Valid Values are CREATE_IN_PROGRESS | ACTIVE | DELETE_IN_PROGRESS | CREATE_FAILED | DELETE_FAILED
	Status pulumi.StringOutput `pulumi:"status"`
	// Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// The ID of the VPC.
	VpcIdentifier pulumi.StringOutput `pulumi:"vpcIdentifier"`
}

Resource for managing an AWS VPC Lattice Service Network VPC Association.

## Example Usage

### Basic Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/vpclattice"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpclattice.NewServiceNetworkVpcAssociation(ctx, "example", &vpclattice.ServiceNetworkVpcAssociationArgs{
			VpcIdentifier:            pulumi.Any(exampleAwsVpc.Id),
			ServiceNetworkIdentifier: pulumi.Any(exampleAwsVpclatticeServiceNetwork.Id),
			SecurityGroupIds: pulumi.StringArray{
				exampleAwsSecurityGroup.Id,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Using `pulumi import`, import VPC Lattice Service Network VPC Association using the `id`. For example:

```sh $ pulumi import aws:vpclattice/serviceNetworkVpcAssociation:ServiceNetworkVpcAssociation example snsa-05e2474658a88f6ba ```

func GetServiceNetworkVpcAssociation

func GetServiceNetworkVpcAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceNetworkVpcAssociationState, opts ...pulumi.ResourceOption) (*ServiceNetworkVpcAssociation, error)

GetServiceNetworkVpcAssociation gets an existing ServiceNetworkVpcAssociation 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 NewServiceNetworkVpcAssociation

func NewServiceNetworkVpcAssociation(ctx *pulumi.Context,
	name string, args *ServiceNetworkVpcAssociationArgs, opts ...pulumi.ResourceOption) (*ServiceNetworkVpcAssociation, error)

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

func (*ServiceNetworkVpcAssociation) ElementType

func (*ServiceNetworkVpcAssociation) ElementType() reflect.Type

func (*ServiceNetworkVpcAssociation) ToServiceNetworkVpcAssociationOutput

func (i *ServiceNetworkVpcAssociation) ToServiceNetworkVpcAssociationOutput() ServiceNetworkVpcAssociationOutput

func (*ServiceNetworkVpcAssociation) ToServiceNetworkVpcAssociationOutputWithContext

func (i *ServiceNetworkVpcAssociation) ToServiceNetworkVpcAssociationOutputWithContext(ctx context.Context) ServiceNetworkVpcAssociationOutput

type ServiceNetworkVpcAssociationArgs

type ServiceNetworkVpcAssociationArgs struct {
	// The IDs of the security groups.
	SecurityGroupIds pulumi.StringArrayInput
	// The ID or Amazon Resource Identifier (ARN) of the service network. You must use the ARN if the resources specified in the operation are in different accounts.
	// The following arguments are optional:
	ServiceNetworkIdentifier pulumi.StringInput
	// Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// The ID of the VPC.
	VpcIdentifier pulumi.StringInput
}

The set of arguments for constructing a ServiceNetworkVpcAssociation resource.

func (ServiceNetworkVpcAssociationArgs) ElementType

type ServiceNetworkVpcAssociationArray

type ServiceNetworkVpcAssociationArray []ServiceNetworkVpcAssociationInput

func (ServiceNetworkVpcAssociationArray) ElementType

func (ServiceNetworkVpcAssociationArray) ToServiceNetworkVpcAssociationArrayOutput

func (i ServiceNetworkVpcAssociationArray) ToServiceNetworkVpcAssociationArrayOutput() ServiceNetworkVpcAssociationArrayOutput

func (ServiceNetworkVpcAssociationArray) ToServiceNetworkVpcAssociationArrayOutputWithContext

func (i ServiceNetworkVpcAssociationArray) ToServiceNetworkVpcAssociationArrayOutputWithContext(ctx context.Context) ServiceNetworkVpcAssociationArrayOutput

type ServiceNetworkVpcAssociationArrayInput

type ServiceNetworkVpcAssociationArrayInput interface {
	pulumi.Input

	ToServiceNetworkVpcAssociationArrayOutput() ServiceNetworkVpcAssociationArrayOutput
	ToServiceNetworkVpcAssociationArrayOutputWithContext(context.Context) ServiceNetworkVpcAssociationArrayOutput
}

ServiceNetworkVpcAssociationArrayInput is an input type that accepts ServiceNetworkVpcAssociationArray and ServiceNetworkVpcAssociationArrayOutput values. You can construct a concrete instance of `ServiceNetworkVpcAssociationArrayInput` via:

ServiceNetworkVpcAssociationArray{ ServiceNetworkVpcAssociationArgs{...} }

type ServiceNetworkVpcAssociationArrayOutput

type ServiceNetworkVpcAssociationArrayOutput struct{ *pulumi.OutputState }

func (ServiceNetworkVpcAssociationArrayOutput) ElementType

func (ServiceNetworkVpcAssociationArrayOutput) Index

func (ServiceNetworkVpcAssociationArrayOutput) ToServiceNetworkVpcAssociationArrayOutput

func (o ServiceNetworkVpcAssociationArrayOutput) ToServiceNetworkVpcAssociationArrayOutput() ServiceNetworkVpcAssociationArrayOutput

func (ServiceNetworkVpcAssociationArrayOutput) ToServiceNetworkVpcAssociationArrayOutputWithContext

func (o ServiceNetworkVpcAssociationArrayOutput) ToServiceNetworkVpcAssociationArrayOutputWithContext(ctx context.Context) ServiceNetworkVpcAssociationArrayOutput

type ServiceNetworkVpcAssociationInput

type ServiceNetworkVpcAssociationInput interface {
	pulumi.Input

	ToServiceNetworkVpcAssociationOutput() ServiceNetworkVpcAssociationOutput
	ToServiceNetworkVpcAssociationOutputWithContext(ctx context.Context) ServiceNetworkVpcAssociationOutput
}

type ServiceNetworkVpcAssociationMap

type ServiceNetworkVpcAssociationMap map[string]ServiceNetworkVpcAssociationInput

func (ServiceNetworkVpcAssociationMap) ElementType

func (ServiceNetworkVpcAssociationMap) ToServiceNetworkVpcAssociationMapOutput

func (i ServiceNetworkVpcAssociationMap) ToServiceNetworkVpcAssociationMapOutput() ServiceNetworkVpcAssociationMapOutput

func (ServiceNetworkVpcAssociationMap) ToServiceNetworkVpcAssociationMapOutputWithContext

func (i ServiceNetworkVpcAssociationMap) ToServiceNetworkVpcAssociationMapOutputWithContext(ctx context.Context) ServiceNetworkVpcAssociationMapOutput

type ServiceNetworkVpcAssociationMapInput

type ServiceNetworkVpcAssociationMapInput interface {
	pulumi.Input

	ToServiceNetworkVpcAssociationMapOutput() ServiceNetworkVpcAssociationMapOutput
	ToServiceNetworkVpcAssociationMapOutputWithContext(context.Context) ServiceNetworkVpcAssociationMapOutput
}

ServiceNetworkVpcAssociationMapInput is an input type that accepts ServiceNetworkVpcAssociationMap and ServiceNetworkVpcAssociationMapOutput values. You can construct a concrete instance of `ServiceNetworkVpcAssociationMapInput` via:

ServiceNetworkVpcAssociationMap{ "key": ServiceNetworkVpcAssociationArgs{...} }

type ServiceNetworkVpcAssociationMapOutput

type ServiceNetworkVpcAssociationMapOutput struct{ *pulumi.OutputState }

func (ServiceNetworkVpcAssociationMapOutput) ElementType

func (ServiceNetworkVpcAssociationMapOutput) MapIndex

func (ServiceNetworkVpcAssociationMapOutput) ToServiceNetworkVpcAssociationMapOutput

func (o ServiceNetworkVpcAssociationMapOutput) ToServiceNetworkVpcAssociationMapOutput() ServiceNetworkVpcAssociationMapOutput

func (ServiceNetworkVpcAssociationMapOutput) ToServiceNetworkVpcAssociationMapOutputWithContext

func (o ServiceNetworkVpcAssociationMapOutput) ToServiceNetworkVpcAssociationMapOutputWithContext(ctx context.Context) ServiceNetworkVpcAssociationMapOutput

type ServiceNetworkVpcAssociationOutput

type ServiceNetworkVpcAssociationOutput struct{ *pulumi.OutputState }

func (ServiceNetworkVpcAssociationOutput) Arn

The ARN of the Association.

func (ServiceNetworkVpcAssociationOutput) CreatedBy

The account that created the association.

func (ServiceNetworkVpcAssociationOutput) ElementType

func (ServiceNetworkVpcAssociationOutput) SecurityGroupIds

The IDs of the security groups.

func (ServiceNetworkVpcAssociationOutput) ServiceNetworkIdentifier

func (o ServiceNetworkVpcAssociationOutput) ServiceNetworkIdentifier() pulumi.StringOutput

The ID or Amazon Resource Identifier (ARN) of the service network. You must use the ARN if the resources specified in the operation are in different accounts. The following arguments are optional:

func (ServiceNetworkVpcAssociationOutput) Status

The operations status. Valid Values are CREATE_IN_PROGRESS | ACTIVE | DELETE_IN_PROGRESS | CREATE_FAILED | DELETE_FAILED

func (ServiceNetworkVpcAssociationOutput) Tags

Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (ServiceNetworkVpcAssociationOutput) TagsAll deprecated

Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (ServiceNetworkVpcAssociationOutput) ToServiceNetworkVpcAssociationOutput

func (o ServiceNetworkVpcAssociationOutput) ToServiceNetworkVpcAssociationOutput() ServiceNetworkVpcAssociationOutput

func (ServiceNetworkVpcAssociationOutput) ToServiceNetworkVpcAssociationOutputWithContext

func (o ServiceNetworkVpcAssociationOutput) ToServiceNetworkVpcAssociationOutputWithContext(ctx context.Context) ServiceNetworkVpcAssociationOutput

func (ServiceNetworkVpcAssociationOutput) VpcIdentifier

The ID of the VPC.

type ServiceNetworkVpcAssociationState

type ServiceNetworkVpcAssociationState struct {
	// The ARN of the Association.
	Arn pulumi.StringPtrInput
	// The account that created the association.
	CreatedBy pulumi.StringPtrInput
	// The IDs of the security groups.
	SecurityGroupIds pulumi.StringArrayInput
	// The ID or Amazon Resource Identifier (ARN) of the service network. You must use the ARN if the resources specified in the operation are in different accounts.
	// The following arguments are optional:
	ServiceNetworkIdentifier pulumi.StringPtrInput
	// The operations status. Valid Values are CREATE_IN_PROGRESS | ACTIVE | DELETE_IN_PROGRESS | CREATE_FAILED | DELETE_FAILED
	Status pulumi.StringPtrInput
	// Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// The ID of the VPC.
	VpcIdentifier pulumi.StringPtrInput
}

func (ServiceNetworkVpcAssociationState) ElementType

type ServiceOutput

type ServiceOutput struct{ *pulumi.OutputState }

func (ServiceOutput) Arn

ARN of the service.

func (ServiceOutput) AuthType

func (o ServiceOutput) AuthType() pulumi.StringOutput

Type of IAM policy. Either `NONE` or `AWS_IAM`.

func (ServiceOutput) CertificateArn

func (o ServiceOutput) CertificateArn() pulumi.StringPtrOutput

Amazon Resource Name (ARN) of the certificate.

func (ServiceOutput) CustomDomainName

func (o ServiceOutput) CustomDomainName() pulumi.StringPtrOutput

Custom domain name of the service.

func (ServiceOutput) DnsEntries

DNS name of the service.

func (ServiceOutput) ElementType

func (ServiceOutput) ElementType() reflect.Type

func (ServiceOutput) Name

Name of the service. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.Must be between 3 and 40 characters in length.

The following arguments are optional:

func (ServiceOutput) Status

func (o ServiceOutput) Status() pulumi.StringOutput

Status of the service.

func (ServiceOutput) Tags

Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (ServiceOutput) TagsAll deprecated

func (o ServiceOutput) TagsAll() pulumi.StringMapOutput

Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (ServiceOutput) ToServiceOutput

func (o ServiceOutput) ToServiceOutput() ServiceOutput

func (ServiceOutput) ToServiceOutputWithContext

func (o ServiceOutput) ToServiceOutputWithContext(ctx context.Context) ServiceOutput

type ServiceState

type ServiceState struct {
	// ARN of the service.
	Arn pulumi.StringPtrInput
	// Type of IAM policy. Either `NONE` or `AWS_IAM`.
	AuthType pulumi.StringPtrInput
	// Amazon Resource Name (ARN) of the certificate.
	CertificateArn pulumi.StringPtrInput
	// Custom domain name of the service.
	CustomDomainName pulumi.StringPtrInput
	// DNS name of the service.
	DnsEntries ServiceDnsEntryArrayInput
	// Name of the service. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.Must be between 3 and 40 characters in length.
	//
	// The following arguments are optional:
	Name pulumi.StringPtrInput
	// Status of the service.
	Status pulumi.StringPtrInput
	// Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
}

func (ServiceState) ElementType

func (ServiceState) ElementType() reflect.Type

type TargetGroup

type TargetGroup struct {
	pulumi.CustomResourceState

	// ARN of the target group.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The target group configuration.
	Config TargetGroupConfigPtrOutput `pulumi:"config"`
	// The name of the target group. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
	Name pulumi.StringOutput `pulumi:"name"`
	// Status of the target group.
	Status pulumi.StringOutput `pulumi:"status"`
	// Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// The type of target group. Valid Values are `IP` | `LAMBDA` | `INSTANCE` | `ALB`
	//
	// The following arguments are optional:
	Type pulumi.StringOutput `pulumi:"type"`
}

Resource for managing an AWS VPC Lattice Target Group.

## Example Usage

### Basic Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/vpclattice"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpclattice.NewTargetGroup(ctx, "example", &vpclattice.TargetGroupArgs{
			Name: pulumi.String("example"),
			Type: pulumi.String("INSTANCE"),
			Config: &vpclattice.TargetGroupConfigArgs{
				VpcIdentifier: pulumi.Any(exampleAwsVpc.Id),
				Port:          pulumi.Int(443),
				Protocol:      pulumi.String("HTTPS"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Basic usage with Health check

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/vpclattice"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpclattice.NewTargetGroup(ctx, "example", &vpclattice.TargetGroupArgs{
			Name: pulumi.String("example"),
			Type: pulumi.String("IP"),
			Config: &vpclattice.TargetGroupConfigArgs{
				VpcIdentifier:   pulumi.Any(exampleAwsVpc.Id),
				IpAddressType:   pulumi.String("IPV4"),
				Port:            pulumi.Int(443),
				Protocol:        pulumi.String("HTTPS"),
				ProtocolVersion: pulumi.String("HTTP1"),
				HealthCheck: &vpclattice.TargetGroupConfigHealthCheckArgs{
					Enabled:                    pulumi.Bool(true),
					HealthCheckIntervalSeconds: pulumi.Int(20),
					HealthCheckTimeoutSeconds:  pulumi.Int(10),
					HealthyThresholdCount:      pulumi.Int(7),
					UnhealthyThresholdCount:    pulumi.Int(3),
					Matcher: &vpclattice.TargetGroupConfigHealthCheckMatcherArgs{
						Value: pulumi.String("200-299"),
					},
					Path:            pulumi.String("/instance"),
					Port:            pulumi.Int(80),
					Protocol:        pulumi.String("HTTP"),
					ProtocolVersion: pulumi.String("HTTP1"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### ALB

If the type is ALB, `healthCheck` block is not supported.

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/vpclattice"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpclattice.NewTargetGroup(ctx, "example", &vpclattice.TargetGroupArgs{
			Name: pulumi.String("example"),
			Type: pulumi.String("ALB"),
			Config: &vpclattice.TargetGroupConfigArgs{
				VpcIdentifier:   pulumi.Any(exampleAwsVpc.Id),
				Port:            pulumi.Int(443),
				Protocol:        pulumi.String("HTTPS"),
				ProtocolVersion: pulumi.String("HTTP1"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

### Lambda

If the type is Lambda, `config` block is not supported.

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/vpclattice"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpclattice.NewTargetGroup(ctx, "example", &vpclattice.TargetGroupArgs{
			Name: pulumi.String("example"),
			Type: pulumi.String("LAMBDA"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

## Import

Using `pulumi import`, import VPC Lattice Target Group using the `id`. For example:

```sh $ pulumi import aws:vpclattice/targetGroup:TargetGroup example tg-0c11d4dc16ed96bdb ```

func GetTargetGroup

func GetTargetGroup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TargetGroupState, opts ...pulumi.ResourceOption) (*TargetGroup, error)

GetTargetGroup gets an existing TargetGroup 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 NewTargetGroup

func NewTargetGroup(ctx *pulumi.Context,
	name string, args *TargetGroupArgs, opts ...pulumi.ResourceOption) (*TargetGroup, error)

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

func (*TargetGroup) ElementType

func (*TargetGroup) ElementType() reflect.Type

func (*TargetGroup) ToTargetGroupOutput

func (i *TargetGroup) ToTargetGroupOutput() TargetGroupOutput

func (*TargetGroup) ToTargetGroupOutputWithContext

func (i *TargetGroup) ToTargetGroupOutputWithContext(ctx context.Context) TargetGroupOutput

type TargetGroupArgs

type TargetGroupArgs struct {
	// The target group configuration.
	Config TargetGroupConfigPtrInput
	// The name of the target group. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
	Name pulumi.StringPtrInput
	// Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// The type of target group. Valid Values are `IP` | `LAMBDA` | `INSTANCE` | `ALB`
	//
	// The following arguments are optional:
	Type pulumi.StringInput
}

The set of arguments for constructing a TargetGroup resource.

func (TargetGroupArgs) ElementType

func (TargetGroupArgs) ElementType() reflect.Type

type TargetGroupArray

type TargetGroupArray []TargetGroupInput

func (TargetGroupArray) ElementType

func (TargetGroupArray) ElementType() reflect.Type

func (TargetGroupArray) ToTargetGroupArrayOutput

func (i TargetGroupArray) ToTargetGroupArrayOutput() TargetGroupArrayOutput

func (TargetGroupArray) ToTargetGroupArrayOutputWithContext

func (i TargetGroupArray) ToTargetGroupArrayOutputWithContext(ctx context.Context) TargetGroupArrayOutput

type TargetGroupArrayInput

type TargetGroupArrayInput interface {
	pulumi.Input

	ToTargetGroupArrayOutput() TargetGroupArrayOutput
	ToTargetGroupArrayOutputWithContext(context.Context) TargetGroupArrayOutput
}

TargetGroupArrayInput is an input type that accepts TargetGroupArray and TargetGroupArrayOutput values. You can construct a concrete instance of `TargetGroupArrayInput` via:

TargetGroupArray{ TargetGroupArgs{...} }

type TargetGroupArrayOutput

type TargetGroupArrayOutput struct{ *pulumi.OutputState }

func (TargetGroupArrayOutput) ElementType

func (TargetGroupArrayOutput) ElementType() reflect.Type

func (TargetGroupArrayOutput) Index

func (TargetGroupArrayOutput) ToTargetGroupArrayOutput

func (o TargetGroupArrayOutput) ToTargetGroupArrayOutput() TargetGroupArrayOutput

func (TargetGroupArrayOutput) ToTargetGroupArrayOutputWithContext

func (o TargetGroupArrayOutput) ToTargetGroupArrayOutputWithContext(ctx context.Context) TargetGroupArrayOutput

type TargetGroupAttachment

type TargetGroupAttachment struct {
	pulumi.CustomResourceState

	// The target.
	Target TargetGroupAttachmentTargetOutput `pulumi:"target"`
	// The ID or Amazon Resource Name (ARN) of the target group.
	TargetGroupIdentifier pulumi.StringOutput `pulumi:"targetGroupIdentifier"`
}

Provides the ability to register a target with an AWS VPC Lattice Target Group.

## Example Usage

### Basic Usage

<!--Start PulumiCodeChooser --> ```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/vpclattice"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpclattice.NewTargetGroupAttachment(ctx, "example", &vpclattice.TargetGroupAttachmentArgs{
			TargetGroupIdentifier: pulumi.Any(exampleAwsVpclatticeTargetGroup.Id),
			Target: &vpclattice.TargetGroupAttachmentTargetArgs{
				Id:   pulumi.Any(exampleAwsLb.Arn),
				Port: pulumi.Int(80),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` <!--End PulumiCodeChooser -->

func GetTargetGroupAttachment

func GetTargetGroupAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *TargetGroupAttachmentState, opts ...pulumi.ResourceOption) (*TargetGroupAttachment, error)

GetTargetGroupAttachment gets an existing TargetGroupAttachment 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 NewTargetGroupAttachment

func NewTargetGroupAttachment(ctx *pulumi.Context,
	name string, args *TargetGroupAttachmentArgs, opts ...pulumi.ResourceOption) (*TargetGroupAttachment, error)

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

func (*TargetGroupAttachment) ElementType

func (*TargetGroupAttachment) ElementType() reflect.Type

func (*TargetGroupAttachment) ToTargetGroupAttachmentOutput

func (i *TargetGroupAttachment) ToTargetGroupAttachmentOutput() TargetGroupAttachmentOutput

func (*TargetGroupAttachment) ToTargetGroupAttachmentOutputWithContext

func (i *TargetGroupAttachment) ToTargetGroupAttachmentOutputWithContext(ctx context.Context) TargetGroupAttachmentOutput

type TargetGroupAttachmentArgs

type TargetGroupAttachmentArgs struct {
	// The target.
	Target TargetGroupAttachmentTargetInput
	// The ID or Amazon Resource Name (ARN) of the target group.
	TargetGroupIdentifier pulumi.StringInput
}

The set of arguments for constructing a TargetGroupAttachment resource.

func (TargetGroupAttachmentArgs) ElementType

func (TargetGroupAttachmentArgs) ElementType() reflect.Type

type TargetGroupAttachmentArray

type TargetGroupAttachmentArray []TargetGroupAttachmentInput

func (TargetGroupAttachmentArray) ElementType

func (TargetGroupAttachmentArray) ElementType() reflect.Type

func (TargetGroupAttachmentArray) ToTargetGroupAttachmentArrayOutput

func (i TargetGroupAttachmentArray) ToTargetGroupAttachmentArrayOutput() TargetGroupAttachmentArrayOutput

func (TargetGroupAttachmentArray) ToTargetGroupAttachmentArrayOutputWithContext

func (i TargetGroupAttachmentArray) ToTargetGroupAttachmentArrayOutputWithContext(ctx context.Context) TargetGroupAttachmentArrayOutput

type TargetGroupAttachmentArrayInput

type TargetGroupAttachmentArrayInput interface {
	pulumi.Input

	ToTargetGroupAttachmentArrayOutput() TargetGroupAttachmentArrayOutput
	ToTargetGroupAttachmentArrayOutputWithContext(context.Context) TargetGroupAttachmentArrayOutput
}

TargetGroupAttachmentArrayInput is an input type that accepts TargetGroupAttachmentArray and TargetGroupAttachmentArrayOutput values. You can construct a concrete instance of `TargetGroupAttachmentArrayInput` via:

TargetGroupAttachmentArray{ TargetGroupAttachmentArgs{...} }

type TargetGroupAttachmentArrayOutput

type TargetGroupAttachmentArrayOutput struct{ *pulumi.OutputState }

func (TargetGroupAttachmentArrayOutput) ElementType

func (TargetGroupAttachmentArrayOutput) Index

func (TargetGroupAttachmentArrayOutput) ToTargetGroupAttachmentArrayOutput

func (o TargetGroupAttachmentArrayOutput) ToTargetGroupAttachmentArrayOutput() TargetGroupAttachmentArrayOutput

func (TargetGroupAttachmentArrayOutput) ToTargetGroupAttachmentArrayOutputWithContext

func (o TargetGroupAttachmentArrayOutput) ToTargetGroupAttachmentArrayOutputWithContext(ctx context.Context) TargetGroupAttachmentArrayOutput

type TargetGroupAttachmentInput

type TargetGroupAttachmentInput interface {
	pulumi.Input

	ToTargetGroupAttachmentOutput() TargetGroupAttachmentOutput
	ToTargetGroupAttachmentOutputWithContext(ctx context.Context) TargetGroupAttachmentOutput
}

type TargetGroupAttachmentMap

type TargetGroupAttachmentMap map[string]TargetGroupAttachmentInput

func (TargetGroupAttachmentMap) ElementType

func (TargetGroupAttachmentMap) ElementType() reflect.Type

func (TargetGroupAttachmentMap) ToTargetGroupAttachmentMapOutput

func (i TargetGroupAttachmentMap) ToTargetGroupAttachmentMapOutput() TargetGroupAttachmentMapOutput

func (TargetGroupAttachmentMap) ToTargetGroupAttachmentMapOutputWithContext

func (i TargetGroupAttachmentMap) ToTargetGroupAttachmentMapOutputWithContext(ctx context.Context) TargetGroupAttachmentMapOutput

type TargetGroupAttachmentMapInput

type TargetGroupAttachmentMapInput interface {
	pulumi.Input

	ToTargetGroupAttachmentMapOutput() TargetGroupAttachmentMapOutput
	ToTargetGroupAttachmentMapOutputWithContext(context.Context) TargetGroupAttachmentMapOutput
}

TargetGroupAttachmentMapInput is an input type that accepts TargetGroupAttachmentMap and TargetGroupAttachmentMapOutput values. You can construct a concrete instance of `TargetGroupAttachmentMapInput` via:

TargetGroupAttachmentMap{ "key": TargetGroupAttachmentArgs{...} }

type TargetGroupAttachmentMapOutput

type TargetGroupAttachmentMapOutput struct{ *pulumi.OutputState }

func (TargetGroupAttachmentMapOutput) ElementType

func (TargetGroupAttachmentMapOutput) MapIndex

func (TargetGroupAttachmentMapOutput) ToTargetGroupAttachmentMapOutput

func (o TargetGroupAttachmentMapOutput) ToTargetGroupAttachmentMapOutput() TargetGroupAttachmentMapOutput

func (TargetGroupAttachmentMapOutput) ToTargetGroupAttachmentMapOutputWithContext

func (o TargetGroupAttachmentMapOutput) ToTargetGroupAttachmentMapOutputWithContext(ctx context.Context) TargetGroupAttachmentMapOutput

type TargetGroupAttachmentOutput

type TargetGroupAttachmentOutput struct{ *pulumi.OutputState }

func (TargetGroupAttachmentOutput) ElementType

func (TargetGroupAttachmentOutput) Target

The target.

func (TargetGroupAttachmentOutput) TargetGroupIdentifier

func (o TargetGroupAttachmentOutput) TargetGroupIdentifier() pulumi.StringOutput

The ID or Amazon Resource Name (ARN) of the target group.

func (TargetGroupAttachmentOutput) ToTargetGroupAttachmentOutput

func (o TargetGroupAttachmentOutput) ToTargetGroupAttachmentOutput() TargetGroupAttachmentOutput

func (TargetGroupAttachmentOutput) ToTargetGroupAttachmentOutputWithContext

func (o TargetGroupAttachmentOutput) ToTargetGroupAttachmentOutputWithContext(ctx context.Context) TargetGroupAttachmentOutput

type TargetGroupAttachmentState

type TargetGroupAttachmentState struct {
	// The target.
	Target TargetGroupAttachmentTargetPtrInput
	// The ID or Amazon Resource Name (ARN) of the target group.
	TargetGroupIdentifier pulumi.StringPtrInput
}

func (TargetGroupAttachmentState) ElementType

func (TargetGroupAttachmentState) ElementType() reflect.Type

type TargetGroupAttachmentTarget

type TargetGroupAttachmentTarget struct {
	// The ID of the target. If the target type of the target group is INSTANCE, this is an instance ID. If the target type is IP , this is an IP address. If the target type is LAMBDA, this is the ARN of the Lambda function. If the target type is ALB, this is the ARN of the Application Load Balancer.
	Id string `pulumi:"id"`
	// This port is used for routing traffic to the target, and defaults to the target group port. However, you can override the default and specify a custom port.
	Port *int `pulumi:"port"`
}

type TargetGroupAttachmentTargetArgs

type TargetGroupAttachmentTargetArgs struct {
	// The ID of the target. If the target type of the target group is INSTANCE, this is an instance ID. If the target type is IP , this is an IP address. If the target type is LAMBDA, this is the ARN of the Lambda function. If the target type is ALB, this is the ARN of the Application Load Balancer.
	Id pulumi.StringInput `pulumi:"id"`
	// This port is used for routing traffic to the target, and defaults to the target group port. However, you can override the default and specify a custom port.
	Port pulumi.IntPtrInput `pulumi:"port"`
}

func (TargetGroupAttachmentTargetArgs) ElementType

func (TargetGroupAttachmentTargetArgs) ToTargetGroupAttachmentTargetOutput

func (i TargetGroupAttachmentTargetArgs) ToTargetGroupAttachmentTargetOutput() TargetGroupAttachmentTargetOutput

func (TargetGroupAttachmentTargetArgs) ToTargetGroupAttachmentTargetOutputWithContext

func (i TargetGroupAttachmentTargetArgs) ToTargetGroupAttachmentTargetOutputWithContext(ctx context.Context) TargetGroupAttachmentTargetOutput

func (TargetGroupAttachmentTargetArgs) ToTargetGroupAttachmentTargetPtrOutput

func (i TargetGroupAttachmentTargetArgs) ToTargetGroupAttachmentTargetPtrOutput() TargetGroupAttachmentTargetPtrOutput

func (TargetGroupAttachmentTargetArgs) ToTargetGroupAttachmentTargetPtrOutputWithContext

func (i TargetGroupAttachmentTargetArgs) ToTargetGroupAttachmentTargetPtrOutputWithContext(ctx context.Context) TargetGroupAttachmentTargetPtrOutput

type TargetGroupAttachmentTargetInput

type TargetGroupAttachmentTargetInput interface {
	pulumi.Input

	ToTargetGroupAttachmentTargetOutput() TargetGroupAttachmentTargetOutput
	ToTargetGroupAttachmentTargetOutputWithContext(context.Context) TargetGroupAttachmentTargetOutput
}

TargetGroupAttachmentTargetInput is an input type that accepts TargetGroupAttachmentTargetArgs and TargetGroupAttachmentTargetOutput values. You can construct a concrete instance of `TargetGroupAttachmentTargetInput` via:

TargetGroupAttachmentTargetArgs{...}

type TargetGroupAttachmentTargetOutput

type TargetGroupAttachmentTargetOutput struct{ *pulumi.OutputState }

func (TargetGroupAttachmentTargetOutput) ElementType

func (TargetGroupAttachmentTargetOutput) Id

The ID of the target. If the target type of the target group is INSTANCE, this is an instance ID. If the target type is IP , this is an IP address. If the target type is LAMBDA, this is the ARN of the Lambda function. If the target type is ALB, this is the ARN of the Application Load Balancer.

func (TargetGroupAttachmentTargetOutput) Port

This port is used for routing traffic to the target, and defaults to the target group port. However, you can override the default and specify a custom port.

func (TargetGroupAttachmentTargetOutput) ToTargetGroupAttachmentTargetOutput

func (o TargetGroupAttachmentTargetOutput) ToTargetGroupAttachmentTargetOutput() TargetGroupAttachmentTargetOutput

func (TargetGroupAttachmentTargetOutput) ToTargetGroupAttachmentTargetOutputWithContext

func (o TargetGroupAttachmentTargetOutput) ToTargetGroupAttachmentTargetOutputWithContext(ctx context.Context) TargetGroupAttachmentTargetOutput

func (TargetGroupAttachmentTargetOutput) ToTargetGroupAttachmentTargetPtrOutput

func (o TargetGroupAttachmentTargetOutput) ToTargetGroupAttachmentTargetPtrOutput() TargetGroupAttachmentTargetPtrOutput

func (TargetGroupAttachmentTargetOutput) ToTargetGroupAttachmentTargetPtrOutputWithContext

func (o TargetGroupAttachmentTargetOutput) ToTargetGroupAttachmentTargetPtrOutputWithContext(ctx context.Context) TargetGroupAttachmentTargetPtrOutput

type TargetGroupAttachmentTargetPtrInput

type TargetGroupAttachmentTargetPtrInput interface {
	pulumi.Input

	ToTargetGroupAttachmentTargetPtrOutput() TargetGroupAttachmentTargetPtrOutput
	ToTargetGroupAttachmentTargetPtrOutputWithContext(context.Context) TargetGroupAttachmentTargetPtrOutput
}

TargetGroupAttachmentTargetPtrInput is an input type that accepts TargetGroupAttachmentTargetArgs, TargetGroupAttachmentTargetPtr and TargetGroupAttachmentTargetPtrOutput values. You can construct a concrete instance of `TargetGroupAttachmentTargetPtrInput` via:

        TargetGroupAttachmentTargetArgs{...}

or:

        nil

type TargetGroupAttachmentTargetPtrOutput

type TargetGroupAttachmentTargetPtrOutput struct{ *pulumi.OutputState }

func (TargetGroupAttachmentTargetPtrOutput) Elem

func (TargetGroupAttachmentTargetPtrOutput) ElementType

func (TargetGroupAttachmentTargetPtrOutput) Id

The ID of the target. If the target type of the target group is INSTANCE, this is an instance ID. If the target type is IP , this is an IP address. If the target type is LAMBDA, this is the ARN of the Lambda function. If the target type is ALB, this is the ARN of the Application Load Balancer.

func (TargetGroupAttachmentTargetPtrOutput) Port

This port is used for routing traffic to the target, and defaults to the target group port. However, you can override the default and specify a custom port.

func (TargetGroupAttachmentTargetPtrOutput) ToTargetGroupAttachmentTargetPtrOutput

func (o TargetGroupAttachmentTargetPtrOutput) ToTargetGroupAttachmentTargetPtrOutput() TargetGroupAttachmentTargetPtrOutput

func (TargetGroupAttachmentTargetPtrOutput) ToTargetGroupAttachmentTargetPtrOutputWithContext

func (o TargetGroupAttachmentTargetPtrOutput) ToTargetGroupAttachmentTargetPtrOutputWithContext(ctx context.Context) TargetGroupAttachmentTargetPtrOutput

type TargetGroupConfig

type TargetGroupConfig struct {
	// The health check configuration.
	HealthCheck *TargetGroupConfigHealthCheck `pulumi:"healthCheck"`
	// The type of IP address used for the target group. Valid values: `IPV4` | `IPV6`.
	IpAddressType *string `pulumi:"ipAddressType"`
	// The version of the event structure that the Lambda function receives. Supported only if `type` is `LAMBDA`. Valid Values are `V1` | `V2`.
	LambdaEventStructureVersion *string `pulumi:"lambdaEventStructureVersion"`
	// The port on which the targets are listening.
	Port *int `pulumi:"port"`
	// The protocol to use for routing traffic to the targets. Valid Values are `HTTP` | `HTTPS`.
	Protocol *string `pulumi:"protocol"`
	// The protocol version. Valid Values are `HTTP1` | `HTTP2` | `GRPC`. Default value is `HTTP1`.
	ProtocolVersion *string `pulumi:"protocolVersion"`
	// The ID of the VPC.
	VpcIdentifier *string `pulumi:"vpcIdentifier"`
}

type TargetGroupConfigArgs

type TargetGroupConfigArgs struct {
	// The health check configuration.
	HealthCheck TargetGroupConfigHealthCheckPtrInput `pulumi:"healthCheck"`
	// The type of IP address used for the target group. Valid values: `IPV4` | `IPV6`.
	IpAddressType pulumi.StringPtrInput `pulumi:"ipAddressType"`
	// The version of the event structure that the Lambda function receives. Supported only if `type` is `LAMBDA`. Valid Values are `V1` | `V2`.
	LambdaEventStructureVersion pulumi.StringPtrInput `pulumi:"lambdaEventStructureVersion"`
	// The port on which the targets are listening.
	Port pulumi.IntPtrInput `pulumi:"port"`
	// The protocol to use for routing traffic to the targets. Valid Values are `HTTP` | `HTTPS`.
	Protocol pulumi.StringPtrInput `pulumi:"protocol"`
	// The protocol version. Valid Values are `HTTP1` | `HTTP2` | `GRPC`. Default value is `HTTP1`.
	ProtocolVersion pulumi.StringPtrInput `pulumi:"protocolVersion"`
	// The ID of the VPC.
	VpcIdentifier pulumi.StringPtrInput `pulumi:"vpcIdentifier"`
}

func (TargetGroupConfigArgs) ElementType

func (TargetGroupConfigArgs) ElementType() reflect.Type

func (TargetGroupConfigArgs) ToTargetGroupConfigOutput

func (i TargetGroupConfigArgs) ToTargetGroupConfigOutput() TargetGroupConfigOutput

func (TargetGroupConfigArgs) ToTargetGroupConfigOutputWithContext

func (i TargetGroupConfigArgs) ToTargetGroupConfigOutputWithContext(ctx context.Context) TargetGroupConfigOutput

func (TargetGroupConfigArgs) ToTargetGroupConfigPtrOutput

func (i TargetGroupConfigArgs) ToTargetGroupConfigPtrOutput() TargetGroupConfigPtrOutput

func (TargetGroupConfigArgs) ToTargetGroupConfigPtrOutputWithContext

func (i TargetGroupConfigArgs) ToTargetGroupConfigPtrOutputWithContext(ctx context.Context) TargetGroupConfigPtrOutput

type TargetGroupConfigHealthCheck

type TargetGroupConfigHealthCheck struct {
	// Indicates whether health checking is enabled. Defaults to `true`.
	Enabled *bool `pulumi:"enabled"`
	// The approximate amount of time, in seconds, between health checks of an individual target. The range is 5–300 seconds. The default is 30 seconds.
	HealthCheckIntervalSeconds *int `pulumi:"healthCheckIntervalSeconds"`
	// The amount of time, in seconds, to wait before reporting a target as unhealthy. The range is 1–120 seconds. The default is 5 seconds.
	// * ` healthyThresholdCount  ` - (Optional) The number of consecutive successful health checks required before considering an unhealthy target healthy. The range is 2–10. The default is 5.
	HealthCheckTimeoutSeconds *int `pulumi:"healthCheckTimeoutSeconds"`
	HealthyThresholdCount     *int `pulumi:"healthyThresholdCount"`
	// The codes to use when checking for a successful response from a target. These are called _Success codes_ in the console.
	Matcher *TargetGroupConfigHealthCheckMatcher `pulumi:"matcher"`
	// The destination for health checks on the targets. If the protocol version is HTTP/1.1 or HTTP/2, specify a valid URI (for example, /path?query). The default path is `/`. Health checks are not supported if the protocol version is gRPC, however, you can choose HTTP/1.1 or HTTP/2 and specify a valid URI.
	Path *string `pulumi:"path"`
	// The port used when performing health checks on targets. The default setting is the port that a target receives traffic on.
	Port *int `pulumi:"port"`
	// The protocol used when performing health checks on targets. The possible protocols are `HTTP` and `HTTPS`.
	Protocol *string `pulumi:"protocol"`
	// The protocol version used when performing health checks on targets. The possible protocol versions are `HTTP1` and `HTTP2`. The default is `HTTP1`.
	ProtocolVersion *string `pulumi:"protocolVersion"`
	// The number of consecutive failed health checks required before considering a target unhealthy. The range is 2–10. The default is 2.
	UnhealthyThresholdCount *int `pulumi:"unhealthyThresholdCount"`
}

type TargetGroupConfigHealthCheckArgs

type TargetGroupConfigHealthCheckArgs struct {
	// Indicates whether health checking is enabled. Defaults to `true`.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// The approximate amount of time, in seconds, between health checks of an individual target. The range is 5–300 seconds. The default is 30 seconds.
	HealthCheckIntervalSeconds pulumi.IntPtrInput `pulumi:"healthCheckIntervalSeconds"`
	// The amount of time, in seconds, to wait before reporting a target as unhealthy. The range is 1–120 seconds. The default is 5 seconds.
	// * ` healthyThresholdCount  ` - (Optional) The number of consecutive successful health checks required before considering an unhealthy target healthy. The range is 2–10. The default is 5.
	HealthCheckTimeoutSeconds pulumi.IntPtrInput `pulumi:"healthCheckTimeoutSeconds"`
	HealthyThresholdCount     pulumi.IntPtrInput `pulumi:"healthyThresholdCount"`
	// The codes to use when checking for a successful response from a target. These are called _Success codes_ in the console.
	Matcher TargetGroupConfigHealthCheckMatcherPtrInput `pulumi:"matcher"`
	// The destination for health checks on the targets. If the protocol version is HTTP/1.1 or HTTP/2, specify a valid URI (for example, /path?query). The default path is `/`. Health checks are not supported if the protocol version is gRPC, however, you can choose HTTP/1.1 or HTTP/2 and specify a valid URI.
	Path pulumi.StringPtrInput `pulumi:"path"`
	// The port used when performing health checks on targets. The default setting is the port that a target receives traffic on.
	Port pulumi.IntPtrInput `pulumi:"port"`
	// The protocol used when performing health checks on targets. The possible protocols are `HTTP` and `HTTPS`.
	Protocol pulumi.StringPtrInput `pulumi:"protocol"`
	// The protocol version used when performing health checks on targets. The possible protocol versions are `HTTP1` and `HTTP2`. The default is `HTTP1`.
	ProtocolVersion pulumi.StringPtrInput `pulumi:"protocolVersion"`
	// The number of consecutive failed health checks required before considering a target unhealthy. The range is 2–10. The default is 2.
	UnhealthyThresholdCount pulumi.IntPtrInput `pulumi:"unhealthyThresholdCount"`
}

func (TargetGroupConfigHealthCheckArgs) ElementType

func (TargetGroupConfigHealthCheckArgs) ToTargetGroupConfigHealthCheckOutput

func (i TargetGroupConfigHealthCheckArgs) ToTargetGroupConfigHealthCheckOutput() TargetGroupConfigHealthCheckOutput

func (TargetGroupConfigHealthCheckArgs) ToTargetGroupConfigHealthCheckOutputWithContext

func (i TargetGroupConfigHealthCheckArgs) ToTargetGroupConfigHealthCheckOutputWithContext(ctx context.Context) TargetGroupConfigHealthCheckOutput

func (TargetGroupConfigHealthCheckArgs) ToTargetGroupConfigHealthCheckPtrOutput

func (i TargetGroupConfigHealthCheckArgs) ToTargetGroupConfigHealthCheckPtrOutput() TargetGroupConfigHealthCheckPtrOutput

func (TargetGroupConfigHealthCheckArgs) ToTargetGroupConfigHealthCheckPtrOutputWithContext

func (i TargetGroupConfigHealthCheckArgs) ToTargetGroupConfigHealthCheckPtrOutputWithContext(ctx context.Context) TargetGroupConfigHealthCheckPtrOutput

type TargetGroupConfigHealthCheckInput

type TargetGroupConfigHealthCheckInput interface {
	pulumi.Input

	ToTargetGroupConfigHealthCheckOutput() TargetGroupConfigHealthCheckOutput
	ToTargetGroupConfigHealthCheckOutputWithContext(context.Context) TargetGroupConfigHealthCheckOutput
}

TargetGroupConfigHealthCheckInput is an input type that accepts TargetGroupConfigHealthCheckArgs and TargetGroupConfigHealthCheckOutput values. You can construct a concrete instance of `TargetGroupConfigHealthCheckInput` via:

TargetGroupConfigHealthCheckArgs{...}

type TargetGroupConfigHealthCheckMatcher

type TargetGroupConfigHealthCheckMatcher struct {
	// The HTTP codes to use when checking for a successful response from a target.
	Value *string `pulumi:"value"`
}

type TargetGroupConfigHealthCheckMatcherArgs

type TargetGroupConfigHealthCheckMatcherArgs struct {
	// The HTTP codes to use when checking for a successful response from a target.
	Value pulumi.StringPtrInput `pulumi:"value"`
}

func (TargetGroupConfigHealthCheckMatcherArgs) ElementType

func (TargetGroupConfigHealthCheckMatcherArgs) ToTargetGroupConfigHealthCheckMatcherOutput

func (i TargetGroupConfigHealthCheckMatcherArgs) ToTargetGroupConfigHealthCheckMatcherOutput() TargetGroupConfigHealthCheckMatcherOutput

func (TargetGroupConfigHealthCheckMatcherArgs) ToTargetGroupConfigHealthCheckMatcherOutputWithContext

func (i TargetGroupConfigHealthCheckMatcherArgs) ToTargetGroupConfigHealthCheckMatcherOutputWithContext(ctx context.Context) TargetGroupConfigHealthCheckMatcherOutput

func (TargetGroupConfigHealthCheckMatcherArgs) ToTargetGroupConfigHealthCheckMatcherPtrOutput

func (i TargetGroupConfigHealthCheckMatcherArgs) ToTargetGroupConfigHealthCheckMatcherPtrOutput() TargetGroupConfigHealthCheckMatcherPtrOutput

func (TargetGroupConfigHealthCheckMatcherArgs) ToTargetGroupConfigHealthCheckMatcherPtrOutputWithContext

func (i TargetGroupConfigHealthCheckMatcherArgs) ToTargetGroupConfigHealthCheckMatcherPtrOutputWithContext(ctx context.Context) TargetGroupConfigHealthCheckMatcherPtrOutput

type TargetGroupConfigHealthCheckMatcherInput

type TargetGroupConfigHealthCheckMatcherInput interface {
	pulumi.Input

	ToTargetGroupConfigHealthCheckMatcherOutput() TargetGroupConfigHealthCheckMatcherOutput
	ToTargetGroupConfigHealthCheckMatcherOutputWithContext(context.Context) TargetGroupConfigHealthCheckMatcherOutput
}

TargetGroupConfigHealthCheckMatcherInput is an input type that accepts TargetGroupConfigHealthCheckMatcherArgs and TargetGroupConfigHealthCheckMatcherOutput values. You can construct a concrete instance of `TargetGroupConfigHealthCheckMatcherInput` via:

TargetGroupConfigHealthCheckMatcherArgs{...}

type TargetGroupConfigHealthCheckMatcherOutput

type TargetGroupConfigHealthCheckMatcherOutput struct{ *pulumi.OutputState }

func (TargetGroupConfigHealthCheckMatcherOutput) ElementType

func (TargetGroupConfigHealthCheckMatcherOutput) ToTargetGroupConfigHealthCheckMatcherOutput

func (o TargetGroupConfigHealthCheckMatcherOutput) ToTargetGroupConfigHealthCheckMatcherOutput() TargetGroupConfigHealthCheckMatcherOutput

func (TargetGroupConfigHealthCheckMatcherOutput) ToTargetGroupConfigHealthCheckMatcherOutputWithContext

func (o TargetGroupConfigHealthCheckMatcherOutput) ToTargetGroupConfigHealthCheckMatcherOutputWithContext(ctx context.Context) TargetGroupConfigHealthCheckMatcherOutput

func (TargetGroupConfigHealthCheckMatcherOutput) ToTargetGroupConfigHealthCheckMatcherPtrOutput

func (o TargetGroupConfigHealthCheckMatcherOutput) ToTargetGroupConfigHealthCheckMatcherPtrOutput() TargetGroupConfigHealthCheckMatcherPtrOutput

func (TargetGroupConfigHealthCheckMatcherOutput) ToTargetGroupConfigHealthCheckMatcherPtrOutputWithContext

func (o TargetGroupConfigHealthCheckMatcherOutput) ToTargetGroupConfigHealthCheckMatcherPtrOutputWithContext(ctx context.Context) TargetGroupConfigHealthCheckMatcherPtrOutput

func (TargetGroupConfigHealthCheckMatcherOutput) Value

The HTTP codes to use when checking for a successful response from a target.

type TargetGroupConfigHealthCheckMatcherPtrInput

type TargetGroupConfigHealthCheckMatcherPtrInput interface {
	pulumi.Input

	ToTargetGroupConfigHealthCheckMatcherPtrOutput() TargetGroupConfigHealthCheckMatcherPtrOutput
	ToTargetGroupConfigHealthCheckMatcherPtrOutputWithContext(context.Context) TargetGroupConfigHealthCheckMatcherPtrOutput
}

TargetGroupConfigHealthCheckMatcherPtrInput is an input type that accepts TargetGroupConfigHealthCheckMatcherArgs, TargetGroupConfigHealthCheckMatcherPtr and TargetGroupConfigHealthCheckMatcherPtrOutput values. You can construct a concrete instance of `TargetGroupConfigHealthCheckMatcherPtrInput` via:

        TargetGroupConfigHealthCheckMatcherArgs{...}

or:

        nil

type TargetGroupConfigHealthCheckMatcherPtrOutput

type TargetGroupConfigHealthCheckMatcherPtrOutput struct{ *pulumi.OutputState }

func (TargetGroupConfigHealthCheckMatcherPtrOutput) Elem

func (TargetGroupConfigHealthCheckMatcherPtrOutput) ElementType

func (TargetGroupConfigHealthCheckMatcherPtrOutput) ToTargetGroupConfigHealthCheckMatcherPtrOutput

func (o TargetGroupConfigHealthCheckMatcherPtrOutput) ToTargetGroupConfigHealthCheckMatcherPtrOutput() TargetGroupConfigHealthCheckMatcherPtrOutput

func (TargetGroupConfigHealthCheckMatcherPtrOutput) ToTargetGroupConfigHealthCheckMatcherPtrOutputWithContext

func (o TargetGroupConfigHealthCheckMatcherPtrOutput) ToTargetGroupConfigHealthCheckMatcherPtrOutputWithContext(ctx context.Context) TargetGroupConfigHealthCheckMatcherPtrOutput

func (TargetGroupConfigHealthCheckMatcherPtrOutput) Value

The HTTP codes to use when checking for a successful response from a target.

type TargetGroupConfigHealthCheckOutput

type TargetGroupConfigHealthCheckOutput struct{ *pulumi.OutputState }

func (TargetGroupConfigHealthCheckOutput) ElementType

func (TargetGroupConfigHealthCheckOutput) Enabled

Indicates whether health checking is enabled. Defaults to `true`.

func (TargetGroupConfigHealthCheckOutput) HealthCheckIntervalSeconds

func (o TargetGroupConfigHealthCheckOutput) HealthCheckIntervalSeconds() pulumi.IntPtrOutput

The approximate amount of time, in seconds, between health checks of an individual target. The range is 5–300 seconds. The default is 30 seconds.

func (TargetGroupConfigHealthCheckOutput) HealthCheckTimeoutSeconds

func (o TargetGroupConfigHealthCheckOutput) HealthCheckTimeoutSeconds() pulumi.IntPtrOutput

The amount of time, in seconds, to wait before reporting a target as unhealthy. The range is 1–120 seconds. The default is 5 seconds. * ` healthyThresholdCount ` - (Optional) The number of consecutive successful health checks required before considering an unhealthy target healthy. The range is 2–10. The default is 5.

func (TargetGroupConfigHealthCheckOutput) HealthyThresholdCount

func (o TargetGroupConfigHealthCheckOutput) HealthyThresholdCount() pulumi.IntPtrOutput

func (TargetGroupConfigHealthCheckOutput) Matcher

The codes to use when checking for a successful response from a target. These are called _Success codes_ in the console.

func (TargetGroupConfigHealthCheckOutput) Path

The destination for health checks on the targets. If the protocol version is HTTP/1.1 or HTTP/2, specify a valid URI (for example, /path?query). The default path is `/`. Health checks are not supported if the protocol version is gRPC, however, you can choose HTTP/1.1 or HTTP/2 and specify a valid URI.

func (TargetGroupConfigHealthCheckOutput) Port

The port used when performing health checks on targets. The default setting is the port that a target receives traffic on.

func (TargetGroupConfigHealthCheckOutput) Protocol

The protocol used when performing health checks on targets. The possible protocols are `HTTP` and `HTTPS`.

func (TargetGroupConfigHealthCheckOutput) ProtocolVersion

The protocol version used when performing health checks on targets. The possible protocol versions are `HTTP1` and `HTTP2`. The default is `HTTP1`.

func (TargetGroupConfigHealthCheckOutput) ToTargetGroupConfigHealthCheckOutput

func (o TargetGroupConfigHealthCheckOutput) ToTargetGroupConfigHealthCheckOutput() TargetGroupConfigHealthCheckOutput

func (TargetGroupConfigHealthCheckOutput) ToTargetGroupConfigHealthCheckOutputWithContext

func (o TargetGroupConfigHealthCheckOutput) ToTargetGroupConfigHealthCheckOutputWithContext(ctx context.Context) TargetGroupConfigHealthCheckOutput

func (TargetGroupConfigHealthCheckOutput) ToTargetGroupConfigHealthCheckPtrOutput

func (o TargetGroupConfigHealthCheckOutput) ToTargetGroupConfigHealthCheckPtrOutput() TargetGroupConfigHealthCheckPtrOutput

func (TargetGroupConfigHealthCheckOutput) ToTargetGroupConfigHealthCheckPtrOutputWithContext

func (o TargetGroupConfigHealthCheckOutput) ToTargetGroupConfigHealthCheckPtrOutputWithContext(ctx context.Context) TargetGroupConfigHealthCheckPtrOutput

func (TargetGroupConfigHealthCheckOutput) UnhealthyThresholdCount

func (o TargetGroupConfigHealthCheckOutput) UnhealthyThresholdCount() pulumi.IntPtrOutput

The number of consecutive failed health checks required before considering a target unhealthy. The range is 2–10. The default is 2.

type TargetGroupConfigHealthCheckPtrInput

type TargetGroupConfigHealthCheckPtrInput interface {
	pulumi.Input

	ToTargetGroupConfigHealthCheckPtrOutput() TargetGroupConfigHealthCheckPtrOutput
	ToTargetGroupConfigHealthCheckPtrOutputWithContext(context.Context) TargetGroupConfigHealthCheckPtrOutput
}

TargetGroupConfigHealthCheckPtrInput is an input type that accepts TargetGroupConfigHealthCheckArgs, TargetGroupConfigHealthCheckPtr and TargetGroupConfigHealthCheckPtrOutput values. You can construct a concrete instance of `TargetGroupConfigHealthCheckPtrInput` via:

        TargetGroupConfigHealthCheckArgs{...}

or:

        nil

type TargetGroupConfigHealthCheckPtrOutput

type TargetGroupConfigHealthCheckPtrOutput struct{ *pulumi.OutputState }

func (TargetGroupConfigHealthCheckPtrOutput) Elem

func (TargetGroupConfigHealthCheckPtrOutput) ElementType

func (TargetGroupConfigHealthCheckPtrOutput) Enabled

Indicates whether health checking is enabled. Defaults to `true`.

func (TargetGroupConfigHealthCheckPtrOutput) HealthCheckIntervalSeconds

func (o TargetGroupConfigHealthCheckPtrOutput) HealthCheckIntervalSeconds() pulumi.IntPtrOutput

The approximate amount of time, in seconds, between health checks of an individual target. The range is 5–300 seconds. The default is 30 seconds.

func (TargetGroupConfigHealthCheckPtrOutput) HealthCheckTimeoutSeconds

func (o TargetGroupConfigHealthCheckPtrOutput) HealthCheckTimeoutSeconds() pulumi.IntPtrOutput

The amount of time, in seconds, to wait before reporting a target as unhealthy. The range is 1–120 seconds. The default is 5 seconds. * ` healthyThresholdCount ` - (Optional) The number of consecutive successful health checks required before considering an unhealthy target healthy. The range is 2–10. The default is 5.

func (TargetGroupConfigHealthCheckPtrOutput) HealthyThresholdCount

func (o TargetGroupConfigHealthCheckPtrOutput) HealthyThresholdCount() pulumi.IntPtrOutput

func (TargetGroupConfigHealthCheckPtrOutput) Matcher

The codes to use when checking for a successful response from a target. These are called _Success codes_ in the console.

func (TargetGroupConfigHealthCheckPtrOutput) Path

The destination for health checks on the targets. If the protocol version is HTTP/1.1 or HTTP/2, specify a valid URI (for example, /path?query). The default path is `/`. Health checks are not supported if the protocol version is gRPC, however, you can choose HTTP/1.1 or HTTP/2 and specify a valid URI.

func (TargetGroupConfigHealthCheckPtrOutput) Port

The port used when performing health checks on targets. The default setting is the port that a target receives traffic on.

func (TargetGroupConfigHealthCheckPtrOutput) Protocol

The protocol used when performing health checks on targets. The possible protocols are `HTTP` and `HTTPS`.

func (TargetGroupConfigHealthCheckPtrOutput) ProtocolVersion

The protocol version used when performing health checks on targets. The possible protocol versions are `HTTP1` and `HTTP2`. The default is `HTTP1`.

func (TargetGroupConfigHealthCheckPtrOutput) ToTargetGroupConfigHealthCheckPtrOutput

func (o TargetGroupConfigHealthCheckPtrOutput) ToTargetGroupConfigHealthCheckPtrOutput() TargetGroupConfigHealthCheckPtrOutput

func (TargetGroupConfigHealthCheckPtrOutput) ToTargetGroupConfigHealthCheckPtrOutputWithContext

func (o TargetGroupConfigHealthCheckPtrOutput) ToTargetGroupConfigHealthCheckPtrOutputWithContext(ctx context.Context) TargetGroupConfigHealthCheckPtrOutput

func (TargetGroupConfigHealthCheckPtrOutput) UnhealthyThresholdCount

func (o TargetGroupConfigHealthCheckPtrOutput) UnhealthyThresholdCount() pulumi.IntPtrOutput

The number of consecutive failed health checks required before considering a target unhealthy. The range is 2–10. The default is 2.

type TargetGroupConfigInput

type TargetGroupConfigInput interface {
	pulumi.Input

	ToTargetGroupConfigOutput() TargetGroupConfigOutput
	ToTargetGroupConfigOutputWithContext(context.Context) TargetGroupConfigOutput
}

TargetGroupConfigInput is an input type that accepts TargetGroupConfigArgs and TargetGroupConfigOutput values. You can construct a concrete instance of `TargetGroupConfigInput` via:

TargetGroupConfigArgs{...}

type TargetGroupConfigOutput

type TargetGroupConfigOutput struct{ *pulumi.OutputState }

func (TargetGroupConfigOutput) ElementType

func (TargetGroupConfigOutput) ElementType() reflect.Type

func (TargetGroupConfigOutput) HealthCheck

The health check configuration.

func (TargetGroupConfigOutput) IpAddressType

The type of IP address used for the target group. Valid values: `IPV4` | `IPV6`.

func (TargetGroupConfigOutput) LambdaEventStructureVersion added in v6.6.0

func (o TargetGroupConfigOutput) LambdaEventStructureVersion() pulumi.StringPtrOutput

The version of the event structure that the Lambda function receives. Supported only if `type` is `LAMBDA`. Valid Values are `V1` | `V2`.

func (TargetGroupConfigOutput) Port

The port on which the targets are listening.

func (TargetGroupConfigOutput) Protocol

The protocol to use for routing traffic to the targets. Valid Values are `HTTP` | `HTTPS`.

func (TargetGroupConfigOutput) ProtocolVersion

func (o TargetGroupConfigOutput) ProtocolVersion() pulumi.StringPtrOutput

The protocol version. Valid Values are `HTTP1` | `HTTP2` | `GRPC`. Default value is `HTTP1`.

func (TargetGroupConfigOutput) ToTargetGroupConfigOutput

func (o TargetGroupConfigOutput) ToTargetGroupConfigOutput() TargetGroupConfigOutput

func (TargetGroupConfigOutput) ToTargetGroupConfigOutputWithContext

func (o TargetGroupConfigOutput) ToTargetGroupConfigOutputWithContext(ctx context.Context) TargetGroupConfigOutput

func (TargetGroupConfigOutput) ToTargetGroupConfigPtrOutput

func (o TargetGroupConfigOutput) ToTargetGroupConfigPtrOutput() TargetGroupConfigPtrOutput

func (TargetGroupConfigOutput) ToTargetGroupConfigPtrOutputWithContext

func (o TargetGroupConfigOutput) ToTargetGroupConfigPtrOutputWithContext(ctx context.Context) TargetGroupConfigPtrOutput

func (TargetGroupConfigOutput) VpcIdentifier

The ID of the VPC.

type TargetGroupConfigPtrInput

type TargetGroupConfigPtrInput interface {
	pulumi.Input

	ToTargetGroupConfigPtrOutput() TargetGroupConfigPtrOutput
	ToTargetGroupConfigPtrOutputWithContext(context.Context) TargetGroupConfigPtrOutput
}

TargetGroupConfigPtrInput is an input type that accepts TargetGroupConfigArgs, TargetGroupConfigPtr and TargetGroupConfigPtrOutput values. You can construct a concrete instance of `TargetGroupConfigPtrInput` via:

        TargetGroupConfigArgs{...}

or:

        nil

type TargetGroupConfigPtrOutput

type TargetGroupConfigPtrOutput struct{ *pulumi.OutputState }

func (TargetGroupConfigPtrOutput) Elem

func (TargetGroupConfigPtrOutput) ElementType

func (TargetGroupConfigPtrOutput) ElementType() reflect.Type

func (TargetGroupConfigPtrOutput) HealthCheck

The health check configuration.

func (TargetGroupConfigPtrOutput) IpAddressType

The type of IP address used for the target group. Valid values: `IPV4` | `IPV6`.

func (TargetGroupConfigPtrOutput) LambdaEventStructureVersion added in v6.6.0

func (o TargetGroupConfigPtrOutput) LambdaEventStructureVersion() pulumi.StringPtrOutput

The version of the event structure that the Lambda function receives. Supported only if `type` is `LAMBDA`. Valid Values are `V1` | `V2`.

func (TargetGroupConfigPtrOutput) Port

The port on which the targets are listening.

func (TargetGroupConfigPtrOutput) Protocol

The protocol to use for routing traffic to the targets. Valid Values are `HTTP` | `HTTPS`.

func (TargetGroupConfigPtrOutput) ProtocolVersion

The protocol version. Valid Values are `HTTP1` | `HTTP2` | `GRPC`. Default value is `HTTP1`.

func (TargetGroupConfigPtrOutput) ToTargetGroupConfigPtrOutput

func (o TargetGroupConfigPtrOutput) ToTargetGroupConfigPtrOutput() TargetGroupConfigPtrOutput

func (TargetGroupConfigPtrOutput) ToTargetGroupConfigPtrOutputWithContext

func (o TargetGroupConfigPtrOutput) ToTargetGroupConfigPtrOutputWithContext(ctx context.Context) TargetGroupConfigPtrOutput

func (TargetGroupConfigPtrOutput) VpcIdentifier

The ID of the VPC.

type TargetGroupInput

type TargetGroupInput interface {
	pulumi.Input

	ToTargetGroupOutput() TargetGroupOutput
	ToTargetGroupOutputWithContext(ctx context.Context) TargetGroupOutput
}

type TargetGroupMap

type TargetGroupMap map[string]TargetGroupInput

func (TargetGroupMap) ElementType

func (TargetGroupMap) ElementType() reflect.Type

func (TargetGroupMap) ToTargetGroupMapOutput

func (i TargetGroupMap) ToTargetGroupMapOutput() TargetGroupMapOutput

func (TargetGroupMap) ToTargetGroupMapOutputWithContext

func (i TargetGroupMap) ToTargetGroupMapOutputWithContext(ctx context.Context) TargetGroupMapOutput

type TargetGroupMapInput

type TargetGroupMapInput interface {
	pulumi.Input

	ToTargetGroupMapOutput() TargetGroupMapOutput
	ToTargetGroupMapOutputWithContext(context.Context) TargetGroupMapOutput
}

TargetGroupMapInput is an input type that accepts TargetGroupMap and TargetGroupMapOutput values. You can construct a concrete instance of `TargetGroupMapInput` via:

TargetGroupMap{ "key": TargetGroupArgs{...} }

type TargetGroupMapOutput

type TargetGroupMapOutput struct{ *pulumi.OutputState }

func (TargetGroupMapOutput) ElementType

func (TargetGroupMapOutput) ElementType() reflect.Type

func (TargetGroupMapOutput) MapIndex

func (TargetGroupMapOutput) ToTargetGroupMapOutput

func (o TargetGroupMapOutput) ToTargetGroupMapOutput() TargetGroupMapOutput

func (TargetGroupMapOutput) ToTargetGroupMapOutputWithContext

func (o TargetGroupMapOutput) ToTargetGroupMapOutputWithContext(ctx context.Context) TargetGroupMapOutput

type TargetGroupOutput

type TargetGroupOutput struct{ *pulumi.OutputState }

func (TargetGroupOutput) Arn

ARN of the target group.

func (TargetGroupOutput) Config

The target group configuration.

func (TargetGroupOutput) ElementType

func (TargetGroupOutput) ElementType() reflect.Type

func (TargetGroupOutput) Name

The name of the target group. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.

func (TargetGroupOutput) Status

Status of the target group.

func (TargetGroupOutput) Tags

Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.

func (TargetGroupOutput) TagsAll deprecated

Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.

Deprecated: Please use `tags` instead.

func (TargetGroupOutput) ToTargetGroupOutput

func (o TargetGroupOutput) ToTargetGroupOutput() TargetGroupOutput

func (TargetGroupOutput) ToTargetGroupOutputWithContext

func (o TargetGroupOutput) ToTargetGroupOutputWithContext(ctx context.Context) TargetGroupOutput

func (TargetGroupOutput) Type

The type of target group. Valid Values are `IP` | `LAMBDA` | `INSTANCE` | `ALB`

The following arguments are optional:

type TargetGroupState

type TargetGroupState struct {
	// ARN of the target group.
	Arn pulumi.StringPtrInput
	// The target group configuration.
	Config TargetGroupConfigPtrInput
	// The name of the target group. The name must be unique within the account. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.
	Name pulumi.StringPtrInput
	// Status of the target group.
	Status pulumi.StringPtrInput
	// Key-value mapping of resource tags. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// Map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	//
	// Deprecated: Please use `tags` instead.
	TagsAll pulumi.StringMapInput
	// The type of target group. Valid Values are `IP` | `LAMBDA` | `INSTANCE` | `ALB`
	//
	// The following arguments are optional:
	Type pulumi.StringPtrInput
}

func (TargetGroupState) ElementType

func (TargetGroupState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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