vpclattice

package
v5.43.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2023 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 added in v5.41.0

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"`
	TagsAll            pulumi.StringMapOutput `pulumi:"tagsAll"`
}

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

## Example Usage ### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/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(aws_vpclattice_service_network.Example.Id),
			DestinationArn:     pulumi.Any(aws_s3.Bucket.Arn),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

VPC Lattice Access Log Subscription can be imported using the access log subscription ID, e.g.,

```sh

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

```

func GetAccessLogSubscription added in v5.41.0

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 added in v5.41.0

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 added in v5.41.0

func (*AccessLogSubscription) ElementType() reflect.Type

func (*AccessLogSubscription) ToAccessLogSubscriptionOutput added in v5.41.0

func (i *AccessLogSubscription) ToAccessLogSubscriptionOutput() AccessLogSubscriptionOutput

func (*AccessLogSubscription) ToAccessLogSubscriptionOutputWithContext added in v5.41.0

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

type AccessLogSubscriptionArgs added in v5.41.0

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 added in v5.41.0

func (AccessLogSubscriptionArgs) ElementType() reflect.Type

type AccessLogSubscriptionArray added in v5.41.0

type AccessLogSubscriptionArray []AccessLogSubscriptionInput

func (AccessLogSubscriptionArray) ElementType added in v5.41.0

func (AccessLogSubscriptionArray) ElementType() reflect.Type

func (AccessLogSubscriptionArray) ToAccessLogSubscriptionArrayOutput added in v5.41.0

func (i AccessLogSubscriptionArray) ToAccessLogSubscriptionArrayOutput() AccessLogSubscriptionArrayOutput

func (AccessLogSubscriptionArray) ToAccessLogSubscriptionArrayOutputWithContext added in v5.41.0

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

type AccessLogSubscriptionArrayInput added in v5.41.0

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 added in v5.41.0

type AccessLogSubscriptionArrayOutput struct{ *pulumi.OutputState }

func (AccessLogSubscriptionArrayOutput) ElementType added in v5.41.0

func (AccessLogSubscriptionArrayOutput) Index added in v5.41.0

func (AccessLogSubscriptionArrayOutput) ToAccessLogSubscriptionArrayOutput added in v5.41.0

func (o AccessLogSubscriptionArrayOutput) ToAccessLogSubscriptionArrayOutput() AccessLogSubscriptionArrayOutput

func (AccessLogSubscriptionArrayOutput) ToAccessLogSubscriptionArrayOutputWithContext added in v5.41.0

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

type AccessLogSubscriptionInput added in v5.41.0

type AccessLogSubscriptionInput interface {
	pulumi.Input

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

type AccessLogSubscriptionMap added in v5.41.0

type AccessLogSubscriptionMap map[string]AccessLogSubscriptionInput

func (AccessLogSubscriptionMap) ElementType added in v5.41.0

func (AccessLogSubscriptionMap) ElementType() reflect.Type

func (AccessLogSubscriptionMap) ToAccessLogSubscriptionMapOutput added in v5.41.0

func (i AccessLogSubscriptionMap) ToAccessLogSubscriptionMapOutput() AccessLogSubscriptionMapOutput

func (AccessLogSubscriptionMap) ToAccessLogSubscriptionMapOutputWithContext added in v5.41.0

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

type AccessLogSubscriptionMapInput added in v5.41.0

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 added in v5.41.0

type AccessLogSubscriptionMapOutput struct{ *pulumi.OutputState }

func (AccessLogSubscriptionMapOutput) ElementType added in v5.41.0

func (AccessLogSubscriptionMapOutput) MapIndex added in v5.41.0

func (AccessLogSubscriptionMapOutput) ToAccessLogSubscriptionMapOutput added in v5.41.0

func (o AccessLogSubscriptionMapOutput) ToAccessLogSubscriptionMapOutput() AccessLogSubscriptionMapOutput

func (AccessLogSubscriptionMapOutput) ToAccessLogSubscriptionMapOutputWithContext added in v5.41.0

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

type AccessLogSubscriptionOutput added in v5.41.0

type AccessLogSubscriptionOutput struct{ *pulumi.OutputState }

func (AccessLogSubscriptionOutput) Arn added in v5.41.0

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

func (AccessLogSubscriptionOutput) DestinationArn added in v5.41.0

func (o AccessLogSubscriptionOutput) DestinationArn() pulumi.StringOutput

Amazon Resource Name (ARN) of the log destination.

func (AccessLogSubscriptionOutput) ElementType added in v5.41.0

func (AccessLogSubscriptionOutput) ResourceArn added in v5.41.0

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

func (AccessLogSubscriptionOutput) ResourceIdentifier added in v5.41.0

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 added in v5.41.0

func (AccessLogSubscriptionOutput) TagsAll added in v5.41.0

func (AccessLogSubscriptionOutput) ToAccessLogSubscriptionOutput added in v5.41.0

func (o AccessLogSubscriptionOutput) ToAccessLogSubscriptionOutput() AccessLogSubscriptionOutput

func (AccessLogSubscriptionOutput) ToAccessLogSubscriptionOutputWithContext added in v5.41.0

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

type AccessLogSubscriptionState added in v5.41.0

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
	TagsAll            pulumi.StringMapInput
}

func (AccessLogSubscriptionState) ElementType added in v5.41.0

func (AccessLogSubscriptionState) ElementType() reflect.Type

type AuthPolicy added in v5.41.0

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

```go package main

import (

"encoding/json"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleService, err := vpclattice.NewService(ctx, "exampleService", &vpclattice.ServiceArgs{
			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, "exampleAuthPolicy", &vpclattice.AuthPolicyArgs{
			ResourceIdentifier: exampleService.Arn,
			Policy:             pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

VPC Lattice Auth Policy can be imported using the `example_id_arg`, e.g.,

```sh

$ pulumi import aws:vpclattice/authPolicy:AuthPolicy example rft-8012925589

```

func GetAuthPolicy added in v5.41.0

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 added in v5.41.0

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 added in v5.41.0

func (*AuthPolicy) ElementType() reflect.Type

func (*AuthPolicy) ToAuthPolicyOutput added in v5.41.0

func (i *AuthPolicy) ToAuthPolicyOutput() AuthPolicyOutput

func (*AuthPolicy) ToAuthPolicyOutputWithContext added in v5.41.0

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

type AuthPolicyArgs added in v5.41.0

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 added in v5.41.0

func (AuthPolicyArgs) ElementType() reflect.Type

type AuthPolicyArray added in v5.41.0

type AuthPolicyArray []AuthPolicyInput

func (AuthPolicyArray) ElementType added in v5.41.0

func (AuthPolicyArray) ElementType() reflect.Type

func (AuthPolicyArray) ToAuthPolicyArrayOutput added in v5.41.0

func (i AuthPolicyArray) ToAuthPolicyArrayOutput() AuthPolicyArrayOutput

func (AuthPolicyArray) ToAuthPolicyArrayOutputWithContext added in v5.41.0

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

type AuthPolicyArrayInput added in v5.41.0

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 added in v5.41.0

type AuthPolicyArrayOutput struct{ *pulumi.OutputState }

func (AuthPolicyArrayOutput) ElementType added in v5.41.0

func (AuthPolicyArrayOutput) ElementType() reflect.Type

func (AuthPolicyArrayOutput) Index added in v5.41.0

func (AuthPolicyArrayOutput) ToAuthPolicyArrayOutput added in v5.41.0

func (o AuthPolicyArrayOutput) ToAuthPolicyArrayOutput() AuthPolicyArrayOutput

func (AuthPolicyArrayOutput) ToAuthPolicyArrayOutputWithContext added in v5.41.0

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

type AuthPolicyInput added in v5.41.0

type AuthPolicyInput interface {
	pulumi.Input

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

type AuthPolicyMap added in v5.41.0

type AuthPolicyMap map[string]AuthPolicyInput

func (AuthPolicyMap) ElementType added in v5.41.0

func (AuthPolicyMap) ElementType() reflect.Type

func (AuthPolicyMap) ToAuthPolicyMapOutput added in v5.41.0

func (i AuthPolicyMap) ToAuthPolicyMapOutput() AuthPolicyMapOutput

func (AuthPolicyMap) ToAuthPolicyMapOutputWithContext added in v5.41.0

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

type AuthPolicyMapInput added in v5.41.0

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 added in v5.41.0

type AuthPolicyMapOutput struct{ *pulumi.OutputState }

func (AuthPolicyMapOutput) ElementType added in v5.41.0

func (AuthPolicyMapOutput) ElementType() reflect.Type

func (AuthPolicyMapOutput) MapIndex added in v5.41.0

func (AuthPolicyMapOutput) ToAuthPolicyMapOutput added in v5.41.0

func (o AuthPolicyMapOutput) ToAuthPolicyMapOutput() AuthPolicyMapOutput

func (AuthPolicyMapOutput) ToAuthPolicyMapOutputWithContext added in v5.41.0

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

type AuthPolicyOutput added in v5.41.0

type AuthPolicyOutput struct{ *pulumi.OutputState }

func (AuthPolicyOutput) ElementType added in v5.41.0

func (AuthPolicyOutput) ElementType() reflect.Type

func (AuthPolicyOutput) Policy added in v5.41.0

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

func (AuthPolicyOutput) ResourceIdentifier added in v5.41.0

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 added in v5.41.0

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 added in v5.41.0

func (o AuthPolicyOutput) ToAuthPolicyOutput() AuthPolicyOutput

func (AuthPolicyOutput) ToAuthPolicyOutputWithContext added in v5.41.0

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

type AuthPolicyState added in v5.41.0

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 added in v5.41.0

func (AuthPolicyState) ElementType() reflect.Type

type GetListenerDefaultAction added in v5.38.0

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

type GetListenerDefaultActionArgs added in v5.38.0

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

func (GetListenerDefaultActionArgs) ElementType added in v5.38.0

func (GetListenerDefaultActionArgs) ToGetListenerDefaultActionOutput added in v5.38.0

func (i GetListenerDefaultActionArgs) ToGetListenerDefaultActionOutput() GetListenerDefaultActionOutput

func (GetListenerDefaultActionArgs) ToGetListenerDefaultActionOutputWithContext added in v5.38.0

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

type GetListenerDefaultActionArray added in v5.38.0

type GetListenerDefaultActionArray []GetListenerDefaultActionInput

func (GetListenerDefaultActionArray) ElementType added in v5.38.0

func (GetListenerDefaultActionArray) ToGetListenerDefaultActionArrayOutput added in v5.38.0

func (i GetListenerDefaultActionArray) ToGetListenerDefaultActionArrayOutput() GetListenerDefaultActionArrayOutput

func (GetListenerDefaultActionArray) ToGetListenerDefaultActionArrayOutputWithContext added in v5.38.0

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

type GetListenerDefaultActionArrayInput added in v5.38.0

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 added in v5.38.0

type GetListenerDefaultActionArrayOutput struct{ *pulumi.OutputState }

func (GetListenerDefaultActionArrayOutput) ElementType added in v5.38.0

func (GetListenerDefaultActionArrayOutput) Index added in v5.38.0

func (GetListenerDefaultActionArrayOutput) ToGetListenerDefaultActionArrayOutput added in v5.38.0

func (o GetListenerDefaultActionArrayOutput) ToGetListenerDefaultActionArrayOutput() GetListenerDefaultActionArrayOutput

func (GetListenerDefaultActionArrayOutput) ToGetListenerDefaultActionArrayOutputWithContext added in v5.38.0

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

type GetListenerDefaultActionFixedResponse added in v5.38.0

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

type GetListenerDefaultActionFixedResponseArgs added in v5.38.0

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

func (GetListenerDefaultActionFixedResponseArgs) ElementType added in v5.38.0

func (GetListenerDefaultActionFixedResponseArgs) ToGetListenerDefaultActionFixedResponseOutput added in v5.38.0

func (i GetListenerDefaultActionFixedResponseArgs) ToGetListenerDefaultActionFixedResponseOutput() GetListenerDefaultActionFixedResponseOutput

func (GetListenerDefaultActionFixedResponseArgs) ToGetListenerDefaultActionFixedResponseOutputWithContext added in v5.38.0

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

type GetListenerDefaultActionFixedResponseArray added in v5.38.0

type GetListenerDefaultActionFixedResponseArray []GetListenerDefaultActionFixedResponseInput

func (GetListenerDefaultActionFixedResponseArray) ElementType added in v5.38.0

func (GetListenerDefaultActionFixedResponseArray) ToGetListenerDefaultActionFixedResponseArrayOutput added in v5.38.0

func (i GetListenerDefaultActionFixedResponseArray) ToGetListenerDefaultActionFixedResponseArrayOutput() GetListenerDefaultActionFixedResponseArrayOutput

func (GetListenerDefaultActionFixedResponseArray) ToGetListenerDefaultActionFixedResponseArrayOutputWithContext added in v5.38.0

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

type GetListenerDefaultActionFixedResponseArrayInput added in v5.38.0

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 added in v5.38.0

type GetListenerDefaultActionFixedResponseArrayOutput struct{ *pulumi.OutputState }

func (GetListenerDefaultActionFixedResponseArrayOutput) ElementType added in v5.38.0

func (GetListenerDefaultActionFixedResponseArrayOutput) Index added in v5.38.0

func (GetListenerDefaultActionFixedResponseArrayOutput) ToGetListenerDefaultActionFixedResponseArrayOutput added in v5.38.0

func (o GetListenerDefaultActionFixedResponseArrayOutput) ToGetListenerDefaultActionFixedResponseArrayOutput() GetListenerDefaultActionFixedResponseArrayOutput

func (GetListenerDefaultActionFixedResponseArrayOutput) ToGetListenerDefaultActionFixedResponseArrayOutputWithContext added in v5.38.0

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

type GetListenerDefaultActionFixedResponseInput added in v5.38.0

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 added in v5.38.0

type GetListenerDefaultActionFixedResponseOutput struct{ *pulumi.OutputState }

func (GetListenerDefaultActionFixedResponseOutput) ElementType added in v5.38.0

func (GetListenerDefaultActionFixedResponseOutput) StatusCode added in v5.38.0

func (GetListenerDefaultActionFixedResponseOutput) ToGetListenerDefaultActionFixedResponseOutput added in v5.38.0

func (o GetListenerDefaultActionFixedResponseOutput) ToGetListenerDefaultActionFixedResponseOutput() GetListenerDefaultActionFixedResponseOutput

func (GetListenerDefaultActionFixedResponseOutput) ToGetListenerDefaultActionFixedResponseOutputWithContext added in v5.38.0

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

type GetListenerDefaultActionForward added in v5.38.0

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

type GetListenerDefaultActionForwardArgs added in v5.38.0

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

func (GetListenerDefaultActionForwardArgs) ElementType added in v5.38.0

func (GetListenerDefaultActionForwardArgs) ToGetListenerDefaultActionForwardOutput added in v5.38.0

func (i GetListenerDefaultActionForwardArgs) ToGetListenerDefaultActionForwardOutput() GetListenerDefaultActionForwardOutput

func (GetListenerDefaultActionForwardArgs) ToGetListenerDefaultActionForwardOutputWithContext added in v5.38.0

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

type GetListenerDefaultActionForwardArray added in v5.38.0

type GetListenerDefaultActionForwardArray []GetListenerDefaultActionForwardInput

func (GetListenerDefaultActionForwardArray) ElementType added in v5.38.0

func (GetListenerDefaultActionForwardArray) ToGetListenerDefaultActionForwardArrayOutput added in v5.38.0

func (i GetListenerDefaultActionForwardArray) ToGetListenerDefaultActionForwardArrayOutput() GetListenerDefaultActionForwardArrayOutput

func (GetListenerDefaultActionForwardArray) ToGetListenerDefaultActionForwardArrayOutputWithContext added in v5.38.0

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

type GetListenerDefaultActionForwardArrayInput added in v5.38.0

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 added in v5.38.0

type GetListenerDefaultActionForwardArrayOutput struct{ *pulumi.OutputState }

func (GetListenerDefaultActionForwardArrayOutput) ElementType added in v5.38.0

func (GetListenerDefaultActionForwardArrayOutput) Index added in v5.38.0

func (GetListenerDefaultActionForwardArrayOutput) ToGetListenerDefaultActionForwardArrayOutput added in v5.38.0

func (o GetListenerDefaultActionForwardArrayOutput) ToGetListenerDefaultActionForwardArrayOutput() GetListenerDefaultActionForwardArrayOutput

func (GetListenerDefaultActionForwardArrayOutput) ToGetListenerDefaultActionForwardArrayOutputWithContext added in v5.38.0

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

type GetListenerDefaultActionForwardInput added in v5.38.0

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 added in v5.38.0

type GetListenerDefaultActionForwardOutput struct{ *pulumi.OutputState }

func (GetListenerDefaultActionForwardOutput) ElementType added in v5.38.0

func (GetListenerDefaultActionForwardOutput) TargetGroups added in v5.38.0

func (GetListenerDefaultActionForwardOutput) ToGetListenerDefaultActionForwardOutput added in v5.38.0

func (o GetListenerDefaultActionForwardOutput) ToGetListenerDefaultActionForwardOutput() GetListenerDefaultActionForwardOutput

func (GetListenerDefaultActionForwardOutput) ToGetListenerDefaultActionForwardOutputWithContext added in v5.38.0

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

type GetListenerDefaultActionForwardTargetGroup added in v5.38.0

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

type GetListenerDefaultActionForwardTargetGroupArgs added in v5.38.0

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

func (GetListenerDefaultActionForwardTargetGroupArgs) ElementType added in v5.38.0

func (GetListenerDefaultActionForwardTargetGroupArgs) ToGetListenerDefaultActionForwardTargetGroupOutput added in v5.38.0

func (i GetListenerDefaultActionForwardTargetGroupArgs) ToGetListenerDefaultActionForwardTargetGroupOutput() GetListenerDefaultActionForwardTargetGroupOutput

func (GetListenerDefaultActionForwardTargetGroupArgs) ToGetListenerDefaultActionForwardTargetGroupOutputWithContext added in v5.38.0

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

type GetListenerDefaultActionForwardTargetGroupArray added in v5.38.0

type GetListenerDefaultActionForwardTargetGroupArray []GetListenerDefaultActionForwardTargetGroupInput

func (GetListenerDefaultActionForwardTargetGroupArray) ElementType added in v5.38.0

func (GetListenerDefaultActionForwardTargetGroupArray) ToGetListenerDefaultActionForwardTargetGroupArrayOutput added in v5.38.0

func (i GetListenerDefaultActionForwardTargetGroupArray) ToGetListenerDefaultActionForwardTargetGroupArrayOutput() GetListenerDefaultActionForwardTargetGroupArrayOutput

func (GetListenerDefaultActionForwardTargetGroupArray) ToGetListenerDefaultActionForwardTargetGroupArrayOutputWithContext added in v5.38.0

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

type GetListenerDefaultActionForwardTargetGroupArrayInput added in v5.38.0

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 added in v5.38.0

type GetListenerDefaultActionForwardTargetGroupArrayOutput struct{ *pulumi.OutputState }

func (GetListenerDefaultActionForwardTargetGroupArrayOutput) ElementType added in v5.38.0

func (GetListenerDefaultActionForwardTargetGroupArrayOutput) Index added in v5.38.0

func (GetListenerDefaultActionForwardTargetGroupArrayOutput) ToGetListenerDefaultActionForwardTargetGroupArrayOutput added in v5.38.0

func (GetListenerDefaultActionForwardTargetGroupArrayOutput) ToGetListenerDefaultActionForwardTargetGroupArrayOutputWithContext added in v5.38.0

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

type GetListenerDefaultActionForwardTargetGroupInput added in v5.38.0

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 added in v5.38.0

type GetListenerDefaultActionForwardTargetGroupOutput struct{ *pulumi.OutputState }

func (GetListenerDefaultActionForwardTargetGroupOutput) ElementType added in v5.38.0

func (GetListenerDefaultActionForwardTargetGroupOutput) TargetGroupIdentifier added in v5.38.0

func (GetListenerDefaultActionForwardTargetGroupOutput) ToGetListenerDefaultActionForwardTargetGroupOutput added in v5.38.0

func (o GetListenerDefaultActionForwardTargetGroupOutput) ToGetListenerDefaultActionForwardTargetGroupOutput() GetListenerDefaultActionForwardTargetGroupOutput

func (GetListenerDefaultActionForwardTargetGroupOutput) ToGetListenerDefaultActionForwardTargetGroupOutputWithContext added in v5.38.0

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

func (GetListenerDefaultActionForwardTargetGroupOutput) Weight added in v5.38.0

type GetListenerDefaultActionInput added in v5.38.0

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 added in v5.38.0

type GetListenerDefaultActionOutput struct{ *pulumi.OutputState }

func (GetListenerDefaultActionOutput) ElementType added in v5.38.0

func (GetListenerDefaultActionOutput) FixedResponses added in v5.38.0

func (GetListenerDefaultActionOutput) Forwards added in v5.38.0

func (GetListenerDefaultActionOutput) ToGetListenerDefaultActionOutput added in v5.38.0

func (o GetListenerDefaultActionOutput) ToGetListenerDefaultActionOutput() GetListenerDefaultActionOutput

func (GetListenerDefaultActionOutput) ToGetListenerDefaultActionOutputWithContext added in v5.38.0

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 added in v5.38.0

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"`
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Resource for managing an AWS VPC Lattice Listener.

## Example Usage ### Forward action

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpclattice.NewService(ctx, "test", nil)
		if err != nil {
			return err
		}
		exampleTargetGroup, err := vpclattice.NewTargetGroup(ctx, "exampleTargetGroup", &vpclattice.TargetGroupArgs{
			Type: pulumi.String("INSTANCE"),
			Config: &vpclattice.TargetGroupConfigArgs{
				Port:          pulumi.Int(80),
				Protocol:      pulumi.String("HTTP"),
				VpcIdentifier: pulumi.Any(aws_vpc.Test.Id),
			},
		})
		if err != nil {
			return err
		}
		_, err = vpclattice.NewListener(ctx, "exampleListener", &vpclattice.ListenerArgs{
			Protocol:          pulumi.String("HTTP"),
			ServiceIdentifier: pulumi.Any(aws_vpclattice_service.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
	})
}

``` ### Forward action with weighted target groups

```go package main

import (

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpclattice.NewService(ctx, "test", nil)
		if err != nil {
			return err
		}
		example1, err := vpclattice.NewTargetGroup(ctx, "example1", &vpclattice.TargetGroupArgs{
			Type: pulumi.String("INSTANCE"),
			Config: &vpclattice.TargetGroupConfigArgs{
				Port:          pulumi.Int(80),
				Protocol:      pulumi.String("HTTP"),
				VpcIdentifier: pulumi.Any(aws_vpc.Test.Id),
			},
		})
		if err != nil {
			return err
		}
		example2, err := vpclattice.NewTargetGroup(ctx, "example2", &vpclattice.TargetGroupArgs{
			Type: pulumi.String("INSTANCE"),
			Config: &vpclattice.TargetGroupConfigArgs{
				Port:          pulumi.Int(8080),
				Protocol:      pulumi.String("HTTP"),
				VpcIdentifier: pulumi.Any(aws_vpc.Test.Id),
			},
		})
		if err != nil {
			return err
		}
		_, err = vpclattice.NewListener(ctx, "example", &vpclattice.ListenerArgs{
			Protocol:          pulumi.String("HTTP"),
			ServiceIdentifier: pulumi.Any(aws_vpclattice_service.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
	})
}

```

## Import

VPC Lattice Listener can be imported by using the `listener_id` of the listener and the `id` of the VPC Lattice service combined with a `/` character, e.g.

```sh

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

```

func GetListener added in v5.38.0

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 added in v5.38.0

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 added in v5.38.0

func (*Listener) ElementType() reflect.Type

func (*Listener) ToListenerOutput added in v5.38.0

func (i *Listener) ToListenerOutput() ListenerOutput

func (*Listener) ToListenerOutputWithContext added in v5.38.0

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

type ListenerArgs added in v5.38.0

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 added in v5.38.0

func (ListenerArgs) ElementType() reflect.Type

type ListenerArray added in v5.38.0

type ListenerArray []ListenerInput

func (ListenerArray) ElementType added in v5.38.0

func (ListenerArray) ElementType() reflect.Type

func (ListenerArray) ToListenerArrayOutput added in v5.38.0

func (i ListenerArray) ToListenerArrayOutput() ListenerArrayOutput

func (ListenerArray) ToListenerArrayOutputWithContext added in v5.38.0

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

type ListenerArrayInput added in v5.38.0

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 added in v5.38.0

type ListenerArrayOutput struct{ *pulumi.OutputState }

func (ListenerArrayOutput) ElementType added in v5.38.0

func (ListenerArrayOutput) ElementType() reflect.Type

func (ListenerArrayOutput) Index added in v5.38.0

func (ListenerArrayOutput) ToListenerArrayOutput added in v5.38.0

func (o ListenerArrayOutput) ToListenerArrayOutput() ListenerArrayOutput

func (ListenerArrayOutput) ToListenerArrayOutputWithContext added in v5.38.0

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

type ListenerDefaultAction added in v5.38.0

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 added in v5.38.0

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 added in v5.38.0

func (ListenerDefaultActionArgs) ElementType() reflect.Type

func (ListenerDefaultActionArgs) ToListenerDefaultActionOutput added in v5.38.0

func (i ListenerDefaultActionArgs) ToListenerDefaultActionOutput() ListenerDefaultActionOutput

func (ListenerDefaultActionArgs) ToListenerDefaultActionOutputWithContext added in v5.38.0

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

func (ListenerDefaultActionArgs) ToListenerDefaultActionPtrOutput added in v5.38.0

func (i ListenerDefaultActionArgs) ToListenerDefaultActionPtrOutput() ListenerDefaultActionPtrOutput

func (ListenerDefaultActionArgs) ToListenerDefaultActionPtrOutputWithContext added in v5.38.0

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

type ListenerDefaultActionFixedResponse added in v5.38.0

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 added in v5.38.0

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 added in v5.38.0

func (ListenerDefaultActionFixedResponseArgs) ToListenerDefaultActionFixedResponseOutput added in v5.38.0

func (i ListenerDefaultActionFixedResponseArgs) ToListenerDefaultActionFixedResponseOutput() ListenerDefaultActionFixedResponseOutput

func (ListenerDefaultActionFixedResponseArgs) ToListenerDefaultActionFixedResponseOutputWithContext added in v5.38.0

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

func (ListenerDefaultActionFixedResponseArgs) ToListenerDefaultActionFixedResponsePtrOutput added in v5.38.0

func (i ListenerDefaultActionFixedResponseArgs) ToListenerDefaultActionFixedResponsePtrOutput() ListenerDefaultActionFixedResponsePtrOutput

func (ListenerDefaultActionFixedResponseArgs) ToListenerDefaultActionFixedResponsePtrOutputWithContext added in v5.38.0

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

type ListenerDefaultActionFixedResponseInput added in v5.38.0

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 added in v5.38.0

type ListenerDefaultActionFixedResponseOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionFixedResponseOutput) ElementType added in v5.38.0

func (ListenerDefaultActionFixedResponseOutput) StatusCode added in v5.38.0

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 added in v5.38.0

func (o ListenerDefaultActionFixedResponseOutput) ToListenerDefaultActionFixedResponseOutput() ListenerDefaultActionFixedResponseOutput

func (ListenerDefaultActionFixedResponseOutput) ToListenerDefaultActionFixedResponseOutputWithContext added in v5.38.0

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

func (ListenerDefaultActionFixedResponseOutput) ToListenerDefaultActionFixedResponsePtrOutput added in v5.38.0

func (o ListenerDefaultActionFixedResponseOutput) ToListenerDefaultActionFixedResponsePtrOutput() ListenerDefaultActionFixedResponsePtrOutput

func (ListenerDefaultActionFixedResponseOutput) ToListenerDefaultActionFixedResponsePtrOutputWithContext added in v5.38.0

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

type ListenerDefaultActionFixedResponsePtrInput added in v5.38.0

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 added in v5.38.0

type ListenerDefaultActionFixedResponsePtrOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionFixedResponsePtrOutput) Elem added in v5.38.0

func (ListenerDefaultActionFixedResponsePtrOutput) ElementType added in v5.38.0

func (ListenerDefaultActionFixedResponsePtrOutput) StatusCode added in v5.38.0

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 added in v5.38.0

func (o ListenerDefaultActionFixedResponsePtrOutput) ToListenerDefaultActionFixedResponsePtrOutput() ListenerDefaultActionFixedResponsePtrOutput

func (ListenerDefaultActionFixedResponsePtrOutput) ToListenerDefaultActionFixedResponsePtrOutputWithContext added in v5.38.0

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

type ListenerDefaultActionForward added in v5.38.0

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

type ListenerDefaultActionForwardArgs added in v5.38.0

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

func (ListenerDefaultActionForwardArgs) ElementType added in v5.38.0

func (ListenerDefaultActionForwardArgs) ToListenerDefaultActionForwardOutput added in v5.38.0

func (i ListenerDefaultActionForwardArgs) ToListenerDefaultActionForwardOutput() ListenerDefaultActionForwardOutput

func (ListenerDefaultActionForwardArgs) ToListenerDefaultActionForwardOutputWithContext added in v5.38.0

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

type ListenerDefaultActionForwardArray added in v5.38.0

type ListenerDefaultActionForwardArray []ListenerDefaultActionForwardInput

func (ListenerDefaultActionForwardArray) ElementType added in v5.38.0

func (ListenerDefaultActionForwardArray) ToListenerDefaultActionForwardArrayOutput added in v5.38.0

func (i ListenerDefaultActionForwardArray) ToListenerDefaultActionForwardArrayOutput() ListenerDefaultActionForwardArrayOutput

func (ListenerDefaultActionForwardArray) ToListenerDefaultActionForwardArrayOutputWithContext added in v5.38.0

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

type ListenerDefaultActionForwardArrayInput added in v5.38.0

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 added in v5.38.0

type ListenerDefaultActionForwardArrayOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionForwardArrayOutput) ElementType added in v5.38.0

func (ListenerDefaultActionForwardArrayOutput) Index added in v5.38.0

func (ListenerDefaultActionForwardArrayOutput) ToListenerDefaultActionForwardArrayOutput added in v5.38.0

func (o ListenerDefaultActionForwardArrayOutput) ToListenerDefaultActionForwardArrayOutput() ListenerDefaultActionForwardArrayOutput

func (ListenerDefaultActionForwardArrayOutput) ToListenerDefaultActionForwardArrayOutputWithContext added in v5.38.0

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

type ListenerDefaultActionForwardInput added in v5.38.0

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 added in v5.38.0

type ListenerDefaultActionForwardOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionForwardOutput) ElementType added in v5.38.0

func (ListenerDefaultActionForwardOutput) TargetGroups added in v5.38.0

One or more target group blocks.

func (ListenerDefaultActionForwardOutput) ToListenerDefaultActionForwardOutput added in v5.38.0

func (o ListenerDefaultActionForwardOutput) ToListenerDefaultActionForwardOutput() ListenerDefaultActionForwardOutput

func (ListenerDefaultActionForwardOutput) ToListenerDefaultActionForwardOutputWithContext added in v5.38.0

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

type ListenerDefaultActionForwardTargetGroup added in v5.38.0

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 added in v5.38.0

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 added in v5.38.0

func (ListenerDefaultActionForwardTargetGroupArgs) ToListenerDefaultActionForwardTargetGroupOutput added in v5.38.0

func (i ListenerDefaultActionForwardTargetGroupArgs) ToListenerDefaultActionForwardTargetGroupOutput() ListenerDefaultActionForwardTargetGroupOutput

func (ListenerDefaultActionForwardTargetGroupArgs) ToListenerDefaultActionForwardTargetGroupOutputWithContext added in v5.38.0

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

type ListenerDefaultActionForwardTargetGroupArray added in v5.38.0

type ListenerDefaultActionForwardTargetGroupArray []ListenerDefaultActionForwardTargetGroupInput

func (ListenerDefaultActionForwardTargetGroupArray) ElementType added in v5.38.0

func (ListenerDefaultActionForwardTargetGroupArray) ToListenerDefaultActionForwardTargetGroupArrayOutput added in v5.38.0

func (i ListenerDefaultActionForwardTargetGroupArray) ToListenerDefaultActionForwardTargetGroupArrayOutput() ListenerDefaultActionForwardTargetGroupArrayOutput

func (ListenerDefaultActionForwardTargetGroupArray) ToListenerDefaultActionForwardTargetGroupArrayOutputWithContext added in v5.38.0

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

type ListenerDefaultActionForwardTargetGroupArrayInput added in v5.38.0

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 added in v5.38.0

type ListenerDefaultActionForwardTargetGroupArrayOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionForwardTargetGroupArrayOutput) ElementType added in v5.38.0

func (ListenerDefaultActionForwardTargetGroupArrayOutput) Index added in v5.38.0

func (ListenerDefaultActionForwardTargetGroupArrayOutput) ToListenerDefaultActionForwardTargetGroupArrayOutput added in v5.38.0

func (o ListenerDefaultActionForwardTargetGroupArrayOutput) ToListenerDefaultActionForwardTargetGroupArrayOutput() ListenerDefaultActionForwardTargetGroupArrayOutput

func (ListenerDefaultActionForwardTargetGroupArrayOutput) ToListenerDefaultActionForwardTargetGroupArrayOutputWithContext added in v5.38.0

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

type ListenerDefaultActionForwardTargetGroupInput added in v5.38.0

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 added in v5.38.0

type ListenerDefaultActionForwardTargetGroupOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionForwardTargetGroupOutput) ElementType added in v5.38.0

func (ListenerDefaultActionForwardTargetGroupOutput) TargetGroupIdentifier added in v5.38.0

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

func (ListenerDefaultActionForwardTargetGroupOutput) ToListenerDefaultActionForwardTargetGroupOutput added in v5.38.0

func (o ListenerDefaultActionForwardTargetGroupOutput) ToListenerDefaultActionForwardTargetGroupOutput() ListenerDefaultActionForwardTargetGroupOutput

func (ListenerDefaultActionForwardTargetGroupOutput) ToListenerDefaultActionForwardTargetGroupOutputWithContext added in v5.38.0

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

func (ListenerDefaultActionForwardTargetGroupOutput) Weight added in v5.38.0

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 added in v5.38.0

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 added in v5.38.0

type ListenerDefaultActionOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionOutput) ElementType added in v5.38.0

func (ListenerDefaultActionOutput) FixedResponse added in v5.38.0

func (ListenerDefaultActionOutput) Forwards added in v5.38.0

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 added in v5.38.0

func (o ListenerDefaultActionOutput) ToListenerDefaultActionOutput() ListenerDefaultActionOutput

func (ListenerDefaultActionOutput) ToListenerDefaultActionOutputWithContext added in v5.38.0

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

func (ListenerDefaultActionOutput) ToListenerDefaultActionPtrOutput added in v5.38.0

func (o ListenerDefaultActionOutput) ToListenerDefaultActionPtrOutput() ListenerDefaultActionPtrOutput

func (ListenerDefaultActionOutput) ToListenerDefaultActionPtrOutputWithContext added in v5.38.0

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

type ListenerDefaultActionPtrInput added in v5.38.0

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

func ListenerDefaultActionPtr added in v5.38.0

func ListenerDefaultActionPtr(v *ListenerDefaultActionArgs) ListenerDefaultActionPtrInput

type ListenerDefaultActionPtrOutput added in v5.38.0

type ListenerDefaultActionPtrOutput struct{ *pulumi.OutputState }

func (ListenerDefaultActionPtrOutput) Elem added in v5.38.0

func (ListenerDefaultActionPtrOutput) ElementType added in v5.38.0

func (ListenerDefaultActionPtrOutput) FixedResponse added in v5.38.0

func (ListenerDefaultActionPtrOutput) Forwards added in v5.38.0

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 added in v5.38.0

func (o ListenerDefaultActionPtrOutput) ToListenerDefaultActionPtrOutput() ListenerDefaultActionPtrOutput

func (ListenerDefaultActionPtrOutput) ToListenerDefaultActionPtrOutputWithContext added in v5.38.0

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

type ListenerInput added in v5.38.0

type ListenerInput interface {
	pulumi.Input

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

type ListenerMap added in v5.38.0

type ListenerMap map[string]ListenerInput

func (ListenerMap) ElementType added in v5.38.0

func (ListenerMap) ElementType() reflect.Type

func (ListenerMap) ToListenerMapOutput added in v5.38.0

func (i ListenerMap) ToListenerMapOutput() ListenerMapOutput

func (ListenerMap) ToListenerMapOutputWithContext added in v5.38.0

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

type ListenerMapInput added in v5.38.0

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 added in v5.38.0

type ListenerMapOutput struct{ *pulumi.OutputState }

func (ListenerMapOutput) ElementType added in v5.38.0

func (ListenerMapOutput) ElementType() reflect.Type

func (ListenerMapOutput) MapIndex added in v5.38.0

func (ListenerMapOutput) ToListenerMapOutput added in v5.38.0

func (o ListenerMapOutput) ToListenerMapOutput() ListenerMapOutput

func (ListenerMapOutput) ToListenerMapOutputWithContext added in v5.38.0

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

type ListenerOutput added in v5.38.0

type ListenerOutput struct{ *pulumi.OutputState }

func (ListenerOutput) Arn added in v5.38.0

ARN of the listener.

func (ListenerOutput) CreatedAt added in v5.38.0

func (o ListenerOutput) CreatedAt() pulumi.StringOutput

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

func (ListenerOutput) DefaultAction added in v5.38.0

func (o ListenerOutput) DefaultAction() ListenerDefaultActionOutput

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

func (ListenerOutput) ElementType added in v5.38.0

func (ListenerOutput) ElementType() reflect.Type

func (ListenerOutput) LastUpdatedAt added in v5.38.0

func (o ListenerOutput) LastUpdatedAt() pulumi.StringOutput

func (ListenerOutput) ListenerId added in v5.38.0

func (o ListenerOutput) ListenerId() pulumi.StringOutput

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

func (ListenerOutput) Name added in v5.38.0

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 added in v5.38.0

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 added in v5.38.0

func (o ListenerOutput) Protocol() pulumi.StringOutput

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

func (ListenerOutput) ServiceArn added in v5.38.0

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 added in v5.38.0

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 added in v5.38.0

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 added in v5.38.0

func (ListenerOutput) ToListenerOutput added in v5.38.0

func (o ListenerOutput) ToListenerOutput() ListenerOutput

func (ListenerOutput) ToListenerOutputWithContext added in v5.38.0

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

type ListenerRule added in v5.38.0

type ListenerRule struct {
	pulumi.CustomResourceState

	// The action for the default rule.
	Action ListenerRuleActionOutput `pulumi:"action"`
	// ARN of the target group.
	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 target group.
	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.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Resource for managing an AWS VPC Lattice Listener Rule.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/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{
			ListenerIdentifier: pulumi.Any(aws_vpclattice_listener.Example.Listener_id),
			ServiceIdentifier:  pulumi.Any(aws_vpclattice_service.Example.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(aws_vpclattice_target_group.Example.Id),
							Weight:                pulumi.Int(1),
						},
						&vpclattice.ListenerRuleActionForwardTargetGroupArgs{
							TargetGroupIdentifier: pulumi.Any(aws_vpclattice_target_group.Example2.Id),
							Weight:                pulumi.Int(2),
						},
					},
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/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{
			ListenerIdentifier: pulumi.Any(aws_vpclattice_listener.Example.Listener_id),
			ServiceIdentifier:  pulumi.Any(aws_vpclattice_service.Example.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
	})
}

```

## Import

VPC Lattice Listener Rule can be imported using the `example_id_arg`, e.g.,

```sh

$ pulumi import aws:vpclattice/listenerRule:ListenerRule example rft-8012925589

```

func GetListenerRule added in v5.38.0

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 added in v5.38.0

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 added in v5.38.0

func (*ListenerRule) ElementType() reflect.Type

func (*ListenerRule) ToListenerRuleOutput added in v5.38.0

func (i *ListenerRule) ToListenerRuleOutput() ListenerRuleOutput

func (*ListenerRule) ToListenerRuleOutputWithContext added in v5.38.0

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

type ListenerRuleAction added in v5.38.0

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 added in v5.38.0

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 added in v5.38.0

func (ListenerRuleActionArgs) ElementType() reflect.Type

func (ListenerRuleActionArgs) ToListenerRuleActionOutput added in v5.38.0

func (i ListenerRuleActionArgs) ToListenerRuleActionOutput() ListenerRuleActionOutput

func (ListenerRuleActionArgs) ToListenerRuleActionOutputWithContext added in v5.38.0

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

func (ListenerRuleActionArgs) ToListenerRuleActionPtrOutput added in v5.38.0

func (i ListenerRuleActionArgs) ToListenerRuleActionPtrOutput() ListenerRuleActionPtrOutput

func (ListenerRuleActionArgs) ToListenerRuleActionPtrOutputWithContext added in v5.38.0

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

type ListenerRuleActionFixedResponse added in v5.38.0

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

type ListenerRuleActionFixedResponseArgs added in v5.38.0

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

func (ListenerRuleActionFixedResponseArgs) ElementType added in v5.38.0

func (ListenerRuleActionFixedResponseArgs) ToListenerRuleActionFixedResponseOutput added in v5.38.0

func (i ListenerRuleActionFixedResponseArgs) ToListenerRuleActionFixedResponseOutput() ListenerRuleActionFixedResponseOutput

func (ListenerRuleActionFixedResponseArgs) ToListenerRuleActionFixedResponseOutputWithContext added in v5.38.0

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

func (ListenerRuleActionFixedResponseArgs) ToListenerRuleActionFixedResponsePtrOutput added in v5.38.0

func (i ListenerRuleActionFixedResponseArgs) ToListenerRuleActionFixedResponsePtrOutput() ListenerRuleActionFixedResponsePtrOutput

func (ListenerRuleActionFixedResponseArgs) ToListenerRuleActionFixedResponsePtrOutputWithContext added in v5.38.0

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

type ListenerRuleActionFixedResponseInput added in v5.38.0

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 added in v5.38.0

type ListenerRuleActionFixedResponseOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionFixedResponseOutput) ElementType added in v5.38.0

func (ListenerRuleActionFixedResponseOutput) StatusCode added in v5.38.0

The HTTP response code.

func (ListenerRuleActionFixedResponseOutput) ToListenerRuleActionFixedResponseOutput added in v5.38.0

func (o ListenerRuleActionFixedResponseOutput) ToListenerRuleActionFixedResponseOutput() ListenerRuleActionFixedResponseOutput

func (ListenerRuleActionFixedResponseOutput) ToListenerRuleActionFixedResponseOutputWithContext added in v5.38.0

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

func (ListenerRuleActionFixedResponseOutput) ToListenerRuleActionFixedResponsePtrOutput added in v5.38.0

func (o ListenerRuleActionFixedResponseOutput) ToListenerRuleActionFixedResponsePtrOutput() ListenerRuleActionFixedResponsePtrOutput

func (ListenerRuleActionFixedResponseOutput) ToListenerRuleActionFixedResponsePtrOutputWithContext added in v5.38.0

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

type ListenerRuleActionFixedResponsePtrInput added in v5.38.0

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 added in v5.38.0

type ListenerRuleActionFixedResponsePtrOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionFixedResponsePtrOutput) Elem added in v5.38.0

func (ListenerRuleActionFixedResponsePtrOutput) ElementType added in v5.38.0

func (ListenerRuleActionFixedResponsePtrOutput) StatusCode added in v5.38.0

The HTTP response code.

func (ListenerRuleActionFixedResponsePtrOutput) ToListenerRuleActionFixedResponsePtrOutput added in v5.38.0

func (o ListenerRuleActionFixedResponsePtrOutput) ToListenerRuleActionFixedResponsePtrOutput() ListenerRuleActionFixedResponsePtrOutput

func (ListenerRuleActionFixedResponsePtrOutput) ToListenerRuleActionFixedResponsePtrOutputWithContext added in v5.38.0

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

type ListenerRuleActionForward added in v5.38.0

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 added in v5.38.0

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 added in v5.38.0

func (ListenerRuleActionForwardArgs) ToListenerRuleActionForwardOutput added in v5.38.0

func (i ListenerRuleActionForwardArgs) ToListenerRuleActionForwardOutput() ListenerRuleActionForwardOutput

func (ListenerRuleActionForwardArgs) ToListenerRuleActionForwardOutputWithContext added in v5.38.0

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

func (ListenerRuleActionForwardArgs) ToListenerRuleActionForwardPtrOutput added in v5.38.0

func (i ListenerRuleActionForwardArgs) ToListenerRuleActionForwardPtrOutput() ListenerRuleActionForwardPtrOutput

func (ListenerRuleActionForwardArgs) ToListenerRuleActionForwardPtrOutputWithContext added in v5.38.0

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

type ListenerRuleActionForwardInput added in v5.38.0

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 added in v5.38.0

type ListenerRuleActionForwardOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionForwardOutput) ElementType added in v5.38.0

func (ListenerRuleActionForwardOutput) TargetGroups added in v5.38.0

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 added in v5.38.0

func (o ListenerRuleActionForwardOutput) ToListenerRuleActionForwardOutput() ListenerRuleActionForwardOutput

func (ListenerRuleActionForwardOutput) ToListenerRuleActionForwardOutputWithContext added in v5.38.0

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

func (ListenerRuleActionForwardOutput) ToListenerRuleActionForwardPtrOutput added in v5.38.0

func (o ListenerRuleActionForwardOutput) ToListenerRuleActionForwardPtrOutput() ListenerRuleActionForwardPtrOutput

func (ListenerRuleActionForwardOutput) ToListenerRuleActionForwardPtrOutputWithContext added in v5.38.0

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

type ListenerRuleActionForwardPtrInput added in v5.38.0

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

func ListenerRuleActionForwardPtr added in v5.38.0

type ListenerRuleActionForwardPtrOutput added in v5.38.0

type ListenerRuleActionForwardPtrOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionForwardPtrOutput) Elem added in v5.38.0

func (ListenerRuleActionForwardPtrOutput) ElementType added in v5.38.0

func (ListenerRuleActionForwardPtrOutput) TargetGroups added in v5.38.0

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 added in v5.38.0

func (o ListenerRuleActionForwardPtrOutput) ToListenerRuleActionForwardPtrOutput() ListenerRuleActionForwardPtrOutput

func (ListenerRuleActionForwardPtrOutput) ToListenerRuleActionForwardPtrOutputWithContext added in v5.38.0

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

type ListenerRuleActionForwardTargetGroup added in v5.38.0

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

type ListenerRuleActionForwardTargetGroupArgs added in v5.38.0

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

func (ListenerRuleActionForwardTargetGroupArgs) ElementType added in v5.38.0

func (ListenerRuleActionForwardTargetGroupArgs) ToListenerRuleActionForwardTargetGroupOutput added in v5.38.0

func (i ListenerRuleActionForwardTargetGroupArgs) ToListenerRuleActionForwardTargetGroupOutput() ListenerRuleActionForwardTargetGroupOutput

func (ListenerRuleActionForwardTargetGroupArgs) ToListenerRuleActionForwardTargetGroupOutputWithContext added in v5.38.0

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

type ListenerRuleActionForwardTargetGroupArray added in v5.38.0

type ListenerRuleActionForwardTargetGroupArray []ListenerRuleActionForwardTargetGroupInput

func (ListenerRuleActionForwardTargetGroupArray) ElementType added in v5.38.0

func (ListenerRuleActionForwardTargetGroupArray) ToListenerRuleActionForwardTargetGroupArrayOutput added in v5.38.0

func (i ListenerRuleActionForwardTargetGroupArray) ToListenerRuleActionForwardTargetGroupArrayOutput() ListenerRuleActionForwardTargetGroupArrayOutput

func (ListenerRuleActionForwardTargetGroupArray) ToListenerRuleActionForwardTargetGroupArrayOutputWithContext added in v5.38.0

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

type ListenerRuleActionForwardTargetGroupArrayInput added in v5.38.0

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 added in v5.38.0

type ListenerRuleActionForwardTargetGroupArrayOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionForwardTargetGroupArrayOutput) ElementType added in v5.38.0

func (ListenerRuleActionForwardTargetGroupArrayOutput) Index added in v5.38.0

func (ListenerRuleActionForwardTargetGroupArrayOutput) ToListenerRuleActionForwardTargetGroupArrayOutput added in v5.38.0

func (o ListenerRuleActionForwardTargetGroupArrayOutput) ToListenerRuleActionForwardTargetGroupArrayOutput() ListenerRuleActionForwardTargetGroupArrayOutput

func (ListenerRuleActionForwardTargetGroupArrayOutput) ToListenerRuleActionForwardTargetGroupArrayOutputWithContext added in v5.38.0

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

type ListenerRuleActionForwardTargetGroupInput added in v5.38.0

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 added in v5.38.0

type ListenerRuleActionForwardTargetGroupOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionForwardTargetGroupOutput) ElementType added in v5.38.0

func (ListenerRuleActionForwardTargetGroupOutput) TargetGroupIdentifier added in v5.38.0

func (ListenerRuleActionForwardTargetGroupOutput) ToListenerRuleActionForwardTargetGroupOutput added in v5.38.0

func (o ListenerRuleActionForwardTargetGroupOutput) ToListenerRuleActionForwardTargetGroupOutput() ListenerRuleActionForwardTargetGroupOutput

func (ListenerRuleActionForwardTargetGroupOutput) ToListenerRuleActionForwardTargetGroupOutputWithContext added in v5.38.0

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

func (ListenerRuleActionForwardTargetGroupOutput) Weight added in v5.38.0

type ListenerRuleActionInput added in v5.38.0

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 added in v5.38.0

type ListenerRuleActionOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionOutput) ElementType added in v5.38.0

func (ListenerRuleActionOutput) ElementType() reflect.Type

func (ListenerRuleActionOutput) FixedResponse added in v5.38.0

Describes the rule action that returns a custom HTTP response.

func (ListenerRuleActionOutput) Forward added in v5.38.0

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

func (ListenerRuleActionOutput) ToListenerRuleActionOutput added in v5.38.0

func (o ListenerRuleActionOutput) ToListenerRuleActionOutput() ListenerRuleActionOutput

func (ListenerRuleActionOutput) ToListenerRuleActionOutputWithContext added in v5.38.0

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

func (ListenerRuleActionOutput) ToListenerRuleActionPtrOutput added in v5.38.0

func (o ListenerRuleActionOutput) ToListenerRuleActionPtrOutput() ListenerRuleActionPtrOutput

func (ListenerRuleActionOutput) ToListenerRuleActionPtrOutputWithContext added in v5.38.0

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

type ListenerRuleActionPtrInput added in v5.38.0

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

func ListenerRuleActionPtr added in v5.38.0

func ListenerRuleActionPtr(v *ListenerRuleActionArgs) ListenerRuleActionPtrInput

type ListenerRuleActionPtrOutput added in v5.38.0

type ListenerRuleActionPtrOutput struct{ *pulumi.OutputState }

func (ListenerRuleActionPtrOutput) Elem added in v5.38.0

func (ListenerRuleActionPtrOutput) ElementType added in v5.38.0

func (ListenerRuleActionPtrOutput) FixedResponse added in v5.38.0

Describes the rule action that returns a custom HTTP response.

func (ListenerRuleActionPtrOutput) Forward added in v5.38.0

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

func (ListenerRuleActionPtrOutput) ToListenerRuleActionPtrOutput added in v5.38.0

func (o ListenerRuleActionPtrOutput) ToListenerRuleActionPtrOutput() ListenerRuleActionPtrOutput

func (ListenerRuleActionPtrOutput) ToListenerRuleActionPtrOutputWithContext added in v5.38.0

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

type ListenerRuleArgs added in v5.38.0

type ListenerRuleArgs struct {
	// The action for the default 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 added in v5.38.0

func (ListenerRuleArgs) ElementType() reflect.Type

type ListenerRuleArray added in v5.38.0

type ListenerRuleArray []ListenerRuleInput

func (ListenerRuleArray) ElementType added in v5.38.0

func (ListenerRuleArray) ElementType() reflect.Type

func (ListenerRuleArray) ToListenerRuleArrayOutput added in v5.38.0

func (i ListenerRuleArray) ToListenerRuleArrayOutput() ListenerRuleArrayOutput

func (ListenerRuleArray) ToListenerRuleArrayOutputWithContext added in v5.38.0

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

type ListenerRuleArrayInput added in v5.38.0

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 added in v5.38.0

type ListenerRuleArrayOutput struct{ *pulumi.OutputState }

func (ListenerRuleArrayOutput) ElementType added in v5.38.0

func (ListenerRuleArrayOutput) ElementType() reflect.Type

func (ListenerRuleArrayOutput) Index added in v5.38.0

func (ListenerRuleArrayOutput) ToListenerRuleArrayOutput added in v5.38.0

func (o ListenerRuleArrayOutput) ToListenerRuleArrayOutput() ListenerRuleArrayOutput

func (ListenerRuleArrayOutput) ToListenerRuleArrayOutputWithContext added in v5.38.0

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

type ListenerRuleInput added in v5.38.0

type ListenerRuleInput interface {
	pulumi.Input

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

type ListenerRuleMap added in v5.38.0

type ListenerRuleMap map[string]ListenerRuleInput

func (ListenerRuleMap) ElementType added in v5.38.0

func (ListenerRuleMap) ElementType() reflect.Type

func (ListenerRuleMap) ToListenerRuleMapOutput added in v5.38.0

func (i ListenerRuleMap) ToListenerRuleMapOutput() ListenerRuleMapOutput

func (ListenerRuleMap) ToListenerRuleMapOutputWithContext added in v5.38.0

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

type ListenerRuleMapInput added in v5.38.0

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 added in v5.38.0

type ListenerRuleMapOutput struct{ *pulumi.OutputState }

func (ListenerRuleMapOutput) ElementType added in v5.38.0

func (ListenerRuleMapOutput) ElementType() reflect.Type

func (ListenerRuleMapOutput) MapIndex added in v5.38.0

func (ListenerRuleMapOutput) ToListenerRuleMapOutput added in v5.38.0

func (o ListenerRuleMapOutput) ToListenerRuleMapOutput() ListenerRuleMapOutput

func (ListenerRuleMapOutput) ToListenerRuleMapOutputWithContext added in v5.38.0

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

type ListenerRuleMatch added in v5.38.0

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

type ListenerRuleMatchArgs added in v5.38.0

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

func (ListenerRuleMatchArgs) ElementType added in v5.38.0

func (ListenerRuleMatchArgs) ElementType() reflect.Type

func (ListenerRuleMatchArgs) ToListenerRuleMatchOutput added in v5.38.0

func (i ListenerRuleMatchArgs) ToListenerRuleMatchOutput() ListenerRuleMatchOutput

func (ListenerRuleMatchArgs) ToListenerRuleMatchOutputWithContext added in v5.38.0

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

func (ListenerRuleMatchArgs) ToListenerRuleMatchPtrOutput added in v5.38.0

func (i ListenerRuleMatchArgs) ToListenerRuleMatchPtrOutput() ListenerRuleMatchPtrOutput

func (ListenerRuleMatchArgs) ToListenerRuleMatchPtrOutputWithContext added in v5.38.0

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

type ListenerRuleMatchHttpMatch added in v5.38.0

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 added in v5.38.0

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 added in v5.38.0

func (ListenerRuleMatchHttpMatchArgs) ToListenerRuleMatchHttpMatchOutput added in v5.38.0

func (i ListenerRuleMatchHttpMatchArgs) ToListenerRuleMatchHttpMatchOutput() ListenerRuleMatchHttpMatchOutput

func (ListenerRuleMatchHttpMatchArgs) ToListenerRuleMatchHttpMatchOutputWithContext added in v5.38.0

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

func (ListenerRuleMatchHttpMatchArgs) ToListenerRuleMatchHttpMatchPtrOutput added in v5.38.0

func (i ListenerRuleMatchHttpMatchArgs) ToListenerRuleMatchHttpMatchPtrOutput() ListenerRuleMatchHttpMatchPtrOutput

func (ListenerRuleMatchHttpMatchArgs) ToListenerRuleMatchHttpMatchPtrOutputWithContext added in v5.38.0

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

type ListenerRuleMatchHttpMatchHeaderMatch added in v5.38.0

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 added in v5.38.0

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 added in v5.38.0

func (ListenerRuleMatchHttpMatchHeaderMatchArgs) ToListenerRuleMatchHttpMatchHeaderMatchOutput added in v5.38.0

func (i ListenerRuleMatchHttpMatchHeaderMatchArgs) ToListenerRuleMatchHttpMatchHeaderMatchOutput() ListenerRuleMatchHttpMatchHeaderMatchOutput

func (ListenerRuleMatchHttpMatchHeaderMatchArgs) ToListenerRuleMatchHttpMatchHeaderMatchOutputWithContext added in v5.38.0

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

type ListenerRuleMatchHttpMatchHeaderMatchArray added in v5.38.0

type ListenerRuleMatchHttpMatchHeaderMatchArray []ListenerRuleMatchHttpMatchHeaderMatchInput

func (ListenerRuleMatchHttpMatchHeaderMatchArray) ElementType added in v5.38.0

func (ListenerRuleMatchHttpMatchHeaderMatchArray) ToListenerRuleMatchHttpMatchHeaderMatchArrayOutput added in v5.38.0

func (i ListenerRuleMatchHttpMatchHeaderMatchArray) ToListenerRuleMatchHttpMatchHeaderMatchArrayOutput() ListenerRuleMatchHttpMatchHeaderMatchArrayOutput

func (ListenerRuleMatchHttpMatchHeaderMatchArray) ToListenerRuleMatchHttpMatchHeaderMatchArrayOutputWithContext added in v5.38.0

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

type ListenerRuleMatchHttpMatchHeaderMatchArrayInput added in v5.38.0

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 added in v5.38.0

type ListenerRuleMatchHttpMatchHeaderMatchArrayOutput struct{ *pulumi.OutputState }

func (ListenerRuleMatchHttpMatchHeaderMatchArrayOutput) ElementType added in v5.38.0

func (ListenerRuleMatchHttpMatchHeaderMatchArrayOutput) Index added in v5.38.0

func (ListenerRuleMatchHttpMatchHeaderMatchArrayOutput) ToListenerRuleMatchHttpMatchHeaderMatchArrayOutput added in v5.38.0

func (o ListenerRuleMatchHttpMatchHeaderMatchArrayOutput) ToListenerRuleMatchHttpMatchHeaderMatchArrayOutput() ListenerRuleMatchHttpMatchHeaderMatchArrayOutput

func (ListenerRuleMatchHttpMatchHeaderMatchArrayOutput) ToListenerRuleMatchHttpMatchHeaderMatchArrayOutputWithContext added in v5.38.0

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

type ListenerRuleMatchHttpMatchHeaderMatchInput added in v5.38.0

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 added in v5.38.0

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 added in v5.38.0

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 added in v5.38.0

func (ListenerRuleMatchHttpMatchHeaderMatchMatchArgs) ToListenerRuleMatchHttpMatchHeaderMatchMatchOutput added in v5.38.0

func (i ListenerRuleMatchHttpMatchHeaderMatchMatchArgs) ToListenerRuleMatchHttpMatchHeaderMatchMatchOutput() ListenerRuleMatchHttpMatchHeaderMatchMatchOutput

func (ListenerRuleMatchHttpMatchHeaderMatchMatchArgs) ToListenerRuleMatchHttpMatchHeaderMatchMatchOutputWithContext added in v5.38.0

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

type ListenerRuleMatchHttpMatchHeaderMatchMatchInput added in v5.38.0

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 added in v5.38.0

type ListenerRuleMatchHttpMatchHeaderMatchMatchOutput struct{ *pulumi.OutputState }

func (ListenerRuleMatchHttpMatchHeaderMatchMatchOutput) Contains added in v5.38.0

Specifies a contains type match.

func (ListenerRuleMatchHttpMatchHeaderMatchMatchOutput) ElementType added in v5.38.0

func (ListenerRuleMatchHttpMatchHeaderMatchMatchOutput) Exact added in v5.38.0

Specifies an exact type match.

func (ListenerRuleMatchHttpMatchHeaderMatchMatchOutput) Prefix added in v5.38.0

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

func (ListenerRuleMatchHttpMatchHeaderMatchMatchOutput) ToListenerRuleMatchHttpMatchHeaderMatchMatchOutput added in v5.38.0

func (o ListenerRuleMatchHttpMatchHeaderMatchMatchOutput) ToListenerRuleMatchHttpMatchHeaderMatchMatchOutput() ListenerRuleMatchHttpMatchHeaderMatchMatchOutput

func (ListenerRuleMatchHttpMatchHeaderMatchMatchOutput) ToListenerRuleMatchHttpMatchHeaderMatchMatchOutputWithContext added in v5.38.0

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

type ListenerRuleMatchHttpMatchHeaderMatchOutput added in v5.38.0

type ListenerRuleMatchHttpMatchHeaderMatchOutput struct{ *pulumi.OutputState }

func (ListenerRuleMatchHttpMatchHeaderMatchOutput) CaseSensitive added in v5.38.0

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

func (ListenerRuleMatchHttpMatchHeaderMatchOutput) ElementType added in v5.38.0

func (ListenerRuleMatchHttpMatchHeaderMatchOutput) Match added in v5.38.0

The header match type.

func (ListenerRuleMatchHttpMatchHeaderMatchOutput) Name added in v5.38.0

The name of the header.

func (ListenerRuleMatchHttpMatchHeaderMatchOutput) ToListenerRuleMatchHttpMatchHeaderMatchOutput added in v5.38.0

func (o ListenerRuleMatchHttpMatchHeaderMatchOutput) ToListenerRuleMatchHttpMatchHeaderMatchOutput() ListenerRuleMatchHttpMatchHeaderMatchOutput

func (ListenerRuleMatchHttpMatchHeaderMatchOutput) ToListenerRuleMatchHttpMatchHeaderMatchOutputWithContext added in v5.38.0

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

type ListenerRuleMatchHttpMatchInput added in v5.38.0

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 added in v5.38.0

type ListenerRuleMatchHttpMatchOutput struct{ *pulumi.OutputState }

func (ListenerRuleMatchHttpMatchOutput) ElementType added in v5.38.0

func (ListenerRuleMatchHttpMatchOutput) HeaderMatches added in v5.38.0

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

func (ListenerRuleMatchHttpMatchOutput) Method added in v5.38.0

The HTTP method type.

func (ListenerRuleMatchHttpMatchOutput) PathMatch added in v5.38.0

The path match.

func (ListenerRuleMatchHttpMatchOutput) ToListenerRuleMatchHttpMatchOutput added in v5.38.0

func (o ListenerRuleMatchHttpMatchOutput) ToListenerRuleMatchHttpMatchOutput() ListenerRuleMatchHttpMatchOutput

func (ListenerRuleMatchHttpMatchOutput) ToListenerRuleMatchHttpMatchOutputWithContext added in v5.38.0

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

func (ListenerRuleMatchHttpMatchOutput) ToListenerRuleMatchHttpMatchPtrOutput added in v5.38.0

func (o ListenerRuleMatchHttpMatchOutput) ToListenerRuleMatchHttpMatchPtrOutput() ListenerRuleMatchHttpMatchPtrOutput

func (ListenerRuleMatchHttpMatchOutput) ToListenerRuleMatchHttpMatchPtrOutputWithContext added in v5.38.0

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

type ListenerRuleMatchHttpMatchPathMatch added in v5.38.0

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 added in v5.38.0

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 added in v5.38.0

func (ListenerRuleMatchHttpMatchPathMatchArgs) ToListenerRuleMatchHttpMatchPathMatchOutput added in v5.38.0

func (i ListenerRuleMatchHttpMatchPathMatchArgs) ToListenerRuleMatchHttpMatchPathMatchOutput() ListenerRuleMatchHttpMatchPathMatchOutput

func (ListenerRuleMatchHttpMatchPathMatchArgs) ToListenerRuleMatchHttpMatchPathMatchOutputWithContext added in v5.38.0

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

func (ListenerRuleMatchHttpMatchPathMatchArgs) ToListenerRuleMatchHttpMatchPathMatchPtrOutput added in v5.38.0

func (i ListenerRuleMatchHttpMatchPathMatchArgs) ToListenerRuleMatchHttpMatchPathMatchPtrOutput() ListenerRuleMatchHttpMatchPathMatchPtrOutput

func (ListenerRuleMatchHttpMatchPathMatchArgs) ToListenerRuleMatchHttpMatchPathMatchPtrOutputWithContext added in v5.38.0

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

type ListenerRuleMatchHttpMatchPathMatchInput added in v5.38.0

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 added in v5.38.0

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 added in v5.38.0

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 added in v5.38.0

func (ListenerRuleMatchHttpMatchPathMatchMatchArgs) ToListenerRuleMatchHttpMatchPathMatchMatchOutput added in v5.38.0

func (i ListenerRuleMatchHttpMatchPathMatchMatchArgs) ToListenerRuleMatchHttpMatchPathMatchMatchOutput() ListenerRuleMatchHttpMatchPathMatchMatchOutput

func (ListenerRuleMatchHttpMatchPathMatchMatchArgs) ToListenerRuleMatchHttpMatchPathMatchMatchOutputWithContext added in v5.38.0

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

func (ListenerRuleMatchHttpMatchPathMatchMatchArgs) ToListenerRuleMatchHttpMatchPathMatchMatchPtrOutput added in v5.38.0

func (i ListenerRuleMatchHttpMatchPathMatchMatchArgs) ToListenerRuleMatchHttpMatchPathMatchMatchPtrOutput() ListenerRuleMatchHttpMatchPathMatchMatchPtrOutput

func (ListenerRuleMatchHttpMatchPathMatchMatchArgs) ToListenerRuleMatchHttpMatchPathMatchMatchPtrOutputWithContext added in v5.38.0

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

type ListenerRuleMatchHttpMatchPathMatchMatchInput added in v5.38.0

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 added in v5.38.0

type ListenerRuleMatchHttpMatchPathMatchMatchOutput struct{ *pulumi.OutputState }

func (ListenerRuleMatchHttpMatchPathMatchMatchOutput) ElementType added in v5.38.0

func (ListenerRuleMatchHttpMatchPathMatchMatchOutput) Exact added in v5.38.0

Specifies an exact type match.

func (ListenerRuleMatchHttpMatchPathMatchMatchOutput) Prefix added in v5.38.0

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

func (ListenerRuleMatchHttpMatchPathMatchMatchOutput) ToListenerRuleMatchHttpMatchPathMatchMatchOutput added in v5.38.0

func (o ListenerRuleMatchHttpMatchPathMatchMatchOutput) ToListenerRuleMatchHttpMatchPathMatchMatchOutput() ListenerRuleMatchHttpMatchPathMatchMatchOutput

func (ListenerRuleMatchHttpMatchPathMatchMatchOutput) ToListenerRuleMatchHttpMatchPathMatchMatchOutputWithContext added in v5.38.0

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

func (ListenerRuleMatchHttpMatchPathMatchMatchOutput) ToListenerRuleMatchHttpMatchPathMatchMatchPtrOutput added in v5.38.0

func (o ListenerRuleMatchHttpMatchPathMatchMatchOutput) ToListenerRuleMatchHttpMatchPathMatchMatchPtrOutput() ListenerRuleMatchHttpMatchPathMatchMatchPtrOutput

func (ListenerRuleMatchHttpMatchPathMatchMatchOutput) ToListenerRuleMatchHttpMatchPathMatchMatchPtrOutputWithContext added in v5.38.0

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

type ListenerRuleMatchHttpMatchPathMatchMatchPtrInput added in v5.38.0

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 added in v5.38.0

type ListenerRuleMatchHttpMatchPathMatchMatchPtrOutput struct{ *pulumi.OutputState }

func (ListenerRuleMatchHttpMatchPathMatchMatchPtrOutput) Elem added in v5.38.0

func (ListenerRuleMatchHttpMatchPathMatchMatchPtrOutput) ElementType added in v5.38.0

func (ListenerRuleMatchHttpMatchPathMatchMatchPtrOutput) Exact added in v5.38.0

Specifies an exact type match.

func (ListenerRuleMatchHttpMatchPathMatchMatchPtrOutput) Prefix added in v5.38.0

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

func (ListenerRuleMatchHttpMatchPathMatchMatchPtrOutput) ToListenerRuleMatchHttpMatchPathMatchMatchPtrOutput added in v5.38.0

func (o ListenerRuleMatchHttpMatchPathMatchMatchPtrOutput) ToListenerRuleMatchHttpMatchPathMatchMatchPtrOutput() ListenerRuleMatchHttpMatchPathMatchMatchPtrOutput

func (ListenerRuleMatchHttpMatchPathMatchMatchPtrOutput) ToListenerRuleMatchHttpMatchPathMatchMatchPtrOutputWithContext added in v5.38.0

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

type ListenerRuleMatchHttpMatchPathMatchOutput added in v5.38.0

type ListenerRuleMatchHttpMatchPathMatchOutput struct{ *pulumi.OutputState }

func (ListenerRuleMatchHttpMatchPathMatchOutput) CaseSensitive added in v5.38.0

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

func (ListenerRuleMatchHttpMatchPathMatchOutput) ElementType added in v5.38.0

func (ListenerRuleMatchHttpMatchPathMatchOutput) Match added in v5.38.0

The header match type.

func (ListenerRuleMatchHttpMatchPathMatchOutput) ToListenerRuleMatchHttpMatchPathMatchOutput added in v5.38.0

func (o ListenerRuleMatchHttpMatchPathMatchOutput) ToListenerRuleMatchHttpMatchPathMatchOutput() ListenerRuleMatchHttpMatchPathMatchOutput

func (ListenerRuleMatchHttpMatchPathMatchOutput) ToListenerRuleMatchHttpMatchPathMatchOutputWithContext added in v5.38.0

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

func (ListenerRuleMatchHttpMatchPathMatchOutput) ToListenerRuleMatchHttpMatchPathMatchPtrOutput added in v5.38.0

func (o ListenerRuleMatchHttpMatchPathMatchOutput) ToListenerRuleMatchHttpMatchPathMatchPtrOutput() ListenerRuleMatchHttpMatchPathMatchPtrOutput

func (ListenerRuleMatchHttpMatchPathMatchOutput) ToListenerRuleMatchHttpMatchPathMatchPtrOutputWithContext added in v5.38.0

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

type ListenerRuleMatchHttpMatchPathMatchPtrInput added in v5.38.0

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 added in v5.38.0

type ListenerRuleMatchHttpMatchPathMatchPtrOutput struct{ *pulumi.OutputState }

func (ListenerRuleMatchHttpMatchPathMatchPtrOutput) CaseSensitive added in v5.38.0

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

func (ListenerRuleMatchHttpMatchPathMatchPtrOutput) Elem added in v5.38.0

func (ListenerRuleMatchHttpMatchPathMatchPtrOutput) ElementType added in v5.38.0

func (ListenerRuleMatchHttpMatchPathMatchPtrOutput) Match added in v5.38.0

The header match type.

func (ListenerRuleMatchHttpMatchPathMatchPtrOutput) ToListenerRuleMatchHttpMatchPathMatchPtrOutput added in v5.38.0

func (o ListenerRuleMatchHttpMatchPathMatchPtrOutput) ToListenerRuleMatchHttpMatchPathMatchPtrOutput() ListenerRuleMatchHttpMatchPathMatchPtrOutput

func (ListenerRuleMatchHttpMatchPathMatchPtrOutput) ToListenerRuleMatchHttpMatchPathMatchPtrOutputWithContext added in v5.38.0

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

type ListenerRuleMatchHttpMatchPtrInput added in v5.38.0

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

func ListenerRuleMatchHttpMatchPtr added in v5.38.0

type ListenerRuleMatchHttpMatchPtrOutput added in v5.38.0

type ListenerRuleMatchHttpMatchPtrOutput struct{ *pulumi.OutputState }

func (ListenerRuleMatchHttpMatchPtrOutput) Elem added in v5.38.0

func (ListenerRuleMatchHttpMatchPtrOutput) ElementType added in v5.38.0

func (ListenerRuleMatchHttpMatchPtrOutput) HeaderMatches added in v5.38.0

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

func (ListenerRuleMatchHttpMatchPtrOutput) Method added in v5.38.0

The HTTP method type.

func (ListenerRuleMatchHttpMatchPtrOutput) PathMatch added in v5.38.0

The path match.

func (ListenerRuleMatchHttpMatchPtrOutput) ToListenerRuleMatchHttpMatchPtrOutput added in v5.38.0

func (o ListenerRuleMatchHttpMatchPtrOutput) ToListenerRuleMatchHttpMatchPtrOutput() ListenerRuleMatchHttpMatchPtrOutput

func (ListenerRuleMatchHttpMatchPtrOutput) ToListenerRuleMatchHttpMatchPtrOutputWithContext added in v5.38.0

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

type ListenerRuleMatchInput added in v5.38.0

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 added in v5.38.0

type ListenerRuleMatchOutput struct{ *pulumi.OutputState }

func (ListenerRuleMatchOutput) ElementType added in v5.38.0

func (ListenerRuleMatchOutput) ElementType() reflect.Type

func (ListenerRuleMatchOutput) HttpMatch added in v5.38.0

The HTTP criteria that a rule must match.

func (ListenerRuleMatchOutput) ToListenerRuleMatchOutput added in v5.38.0

func (o ListenerRuleMatchOutput) ToListenerRuleMatchOutput() ListenerRuleMatchOutput

func (ListenerRuleMatchOutput) ToListenerRuleMatchOutputWithContext added in v5.38.0

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

func (ListenerRuleMatchOutput) ToListenerRuleMatchPtrOutput added in v5.38.0

func (o ListenerRuleMatchOutput) ToListenerRuleMatchPtrOutput() ListenerRuleMatchPtrOutput

func (ListenerRuleMatchOutput) ToListenerRuleMatchPtrOutputWithContext added in v5.38.0

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

type ListenerRuleMatchPtrInput added in v5.38.0

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

func ListenerRuleMatchPtr added in v5.38.0

func ListenerRuleMatchPtr(v *ListenerRuleMatchArgs) ListenerRuleMatchPtrInput

type ListenerRuleMatchPtrOutput added in v5.38.0

type ListenerRuleMatchPtrOutput struct{ *pulumi.OutputState }

func (ListenerRuleMatchPtrOutput) Elem added in v5.38.0

func (ListenerRuleMatchPtrOutput) ElementType added in v5.38.0

func (ListenerRuleMatchPtrOutput) ElementType() reflect.Type

func (ListenerRuleMatchPtrOutput) HttpMatch added in v5.38.0

The HTTP criteria that a rule must match.

func (ListenerRuleMatchPtrOutput) ToListenerRuleMatchPtrOutput added in v5.38.0

func (o ListenerRuleMatchPtrOutput) ToListenerRuleMatchPtrOutput() ListenerRuleMatchPtrOutput

func (ListenerRuleMatchPtrOutput) ToListenerRuleMatchPtrOutputWithContext added in v5.38.0

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

type ListenerRuleOutput added in v5.38.0

type ListenerRuleOutput struct{ *pulumi.OutputState }

func (ListenerRuleOutput) Action added in v5.38.0

The action for the default rule.

func (ListenerRuleOutput) Arn added in v5.38.0

ARN of the target group.

func (ListenerRuleOutput) ElementType added in v5.38.0

func (ListenerRuleOutput) ElementType() reflect.Type

func (ListenerRuleOutput) ListenerIdentifier added in v5.38.0

func (o ListenerRuleOutput) ListenerIdentifier() pulumi.StringOutput

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

func (ListenerRuleOutput) Match added in v5.38.0

The rule match.

func (ListenerRuleOutput) Name added in v5.38.0

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 added in v5.38.0

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 added in v5.38.0

Unique identifier for the target group.

func (ListenerRuleOutput) ServiceIdentifier added in v5.38.0

func (o ListenerRuleOutput) ServiceIdentifier() pulumi.StringOutput

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

func (ListenerRuleOutput) Tags added in v5.38.0

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 added in v5.38.0

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

func (ListenerRuleOutput) ToListenerRuleOutput added in v5.38.0

func (o ListenerRuleOutput) ToListenerRuleOutput() ListenerRuleOutput

func (ListenerRuleOutput) ToListenerRuleOutputWithContext added in v5.38.0

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

type ListenerRuleState added in v5.38.0

type ListenerRuleState struct {
	// The action for the default rule.
	Action ListenerRuleActionPtrInput
	// ARN of the target group.
	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 target group.
	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.
	TagsAll pulumi.StringMapInput
}

func (ListenerRuleState) ElementType added in v5.38.0

func (ListenerRuleState) ElementType() reflect.Type

type ListenerState added in v5.38.0

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
	TagsAll pulumi.StringMapInput
}

func (ListenerState) ElementType added in v5.38.0

func (ListenerState) ElementType() reflect.Type

type LookupAuthPolicyArgs added in v5.41.0

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 added in v5.41.0

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 added in v5.41.0

func (LookupAuthPolicyOutputArgs) ElementType() reflect.Type

type LookupAuthPolicyResult added in v5.41.0

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 added in v5.41.0

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

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/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: aws_vpclattice_auth_policy.Test.Resource_identifier,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupAuthPolicyResultOutput added in v5.41.0

type LookupAuthPolicyResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAuthPolicy.

func LookupAuthPolicyOutput added in v5.41.0

func (LookupAuthPolicyResultOutput) ElementType added in v5.41.0

func (LookupAuthPolicyResultOutput) Id added in v5.41.0

The provider-assigned unique ID for this managed resource.

func (LookupAuthPolicyResultOutput) Policy added in v5.41.0

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

func (LookupAuthPolicyResultOutput) ResourceIdentifier added in v5.41.0

func (o LookupAuthPolicyResultOutput) ResourceIdentifier() pulumi.StringOutput

func (LookupAuthPolicyResultOutput) State added in v5.41.0

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 added in v5.41.0

func (o LookupAuthPolicyResultOutput) ToLookupAuthPolicyResultOutput() LookupAuthPolicyResultOutput

func (LookupAuthPolicyResultOutput) ToLookupAuthPolicyResultOutputWithContext added in v5.41.0

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

type LookupListenerArgs added in v5.38.0

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 added in v5.38.0

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 added in v5.38.0

func (LookupListenerOutputArgs) ElementType() reflect.Type

type LookupListenerResult added in v5.38.0

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 added in v5.38.0

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

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/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
	})
}

```

type LookupListenerResultOutput added in v5.38.0

type LookupListenerResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getListener.

func LookupListenerOutput added in v5.38.0

func LookupListenerOutput(ctx *pulumi.Context, args LookupListenerOutputArgs, opts ...pulumi.InvokeOption) LookupListenerResultOutput

func (LookupListenerResultOutput) Arn added in v5.38.0

ARN of the listener.

func (LookupListenerResultOutput) CreatedAt added in v5.38.0

The date and time that the listener was created.

func (LookupListenerResultOutput) DefaultActions added in v5.38.0

The actions for the default listener rule.

func (LookupListenerResultOutput) ElementType added in v5.38.0

func (LookupListenerResultOutput) ElementType() reflect.Type

func (LookupListenerResultOutput) Id added in v5.38.0

The provider-assigned unique ID for this managed resource.

func (LookupListenerResultOutput) LastUpdatedAt added in v5.38.0

The date and time the listener was last updated.

func (LookupListenerResultOutput) ListenerId added in v5.38.0

The ID of the listener.

func (LookupListenerResultOutput) ListenerIdentifier added in v5.38.0

func (o LookupListenerResultOutput) ListenerIdentifier() pulumi.StringOutput

func (LookupListenerResultOutput) Name added in v5.38.0

The name of the listener.

func (LookupListenerResultOutput) Port added in v5.38.0

The listener port.

func (LookupListenerResultOutput) Protocol added in v5.38.0

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

func (LookupListenerResultOutput) ServiceArn added in v5.38.0

The ARN of the service.

func (LookupListenerResultOutput) ServiceId added in v5.38.0

The ID of the service.

func (LookupListenerResultOutput) ServiceIdentifier added in v5.38.0

func (o LookupListenerResultOutput) ServiceIdentifier() pulumi.StringOutput

func (LookupListenerResultOutput) Tags added in v5.38.0

List of tags associated with the listener.

func (LookupListenerResultOutput) ToLookupListenerResultOutput added in v5.38.0

func (o LookupListenerResultOutput) ToLookupListenerResultOutput() LookupListenerResultOutput

func (LookupListenerResultOutput) ToLookupListenerResultOutputWithContext added in v5.38.0

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

type LookupServiceArgs

type LookupServiceArgs struct {
	// ID or Amazon Resource Name (ARN) of the service network
	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 added in v5.41.0

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

A collection of arguments for invoking getServiceNetwork.

type LookupServiceNetworkOutputArgs added in v5.41.0

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

A collection of arguments for invoking getServiceNetwork.

func (LookupServiceNetworkOutputArgs) ElementType added in v5.41.0

type LookupServiceNetworkResult added in v5.41.0

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"`
	// ID of the service network.
	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 added in v5.41.0

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

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/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: "",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupServiceNetworkResultOutput added in v5.41.0

type LookupServiceNetworkResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getServiceNetwork.

func LookupServiceNetworkOutput added in v5.41.0

func (LookupServiceNetworkResultOutput) Arn added in v5.41.0

ARN of the Service Network.

func (LookupServiceNetworkResultOutput) AuthType added in v5.41.0

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

func (LookupServiceNetworkResultOutput) CreatedAt added in v5.41.0

Date and time the service network was created.

func (LookupServiceNetworkResultOutput) ElementType added in v5.41.0

func (LookupServiceNetworkResultOutput) Id added in v5.41.0

ID of the service network.

func (LookupServiceNetworkResultOutput) LastUpdatedAt added in v5.41.0

Date and time the service network was last updated.

func (LookupServiceNetworkResultOutput) Name added in v5.41.0

Name of the service network.

func (LookupServiceNetworkResultOutput) NumberOfAssociatedServices added in v5.41.0

func (o LookupServiceNetworkResultOutput) NumberOfAssociatedServices() pulumi.IntOutput

Number of services associated with this service network.

func (LookupServiceNetworkResultOutput) NumberOfAssociatedVpcs added in v5.41.0

func (o LookupServiceNetworkResultOutput) NumberOfAssociatedVpcs() pulumi.IntOutput

Number of VPCs associated with this service network.

func (LookupServiceNetworkResultOutput) ServiceNetworkIdentifier added in v5.41.0

func (o LookupServiceNetworkResultOutput) ServiceNetworkIdentifier() pulumi.StringOutput

func (LookupServiceNetworkResultOutput) Tags added in v5.41.0

func (LookupServiceNetworkResultOutput) ToLookupServiceNetworkResultOutput added in v5.41.0

func (o LookupServiceNetworkResultOutput) ToLookupServiceNetworkResultOutput() LookupServiceNetworkResultOutput

func (LookupServiceNetworkResultOutput) ToLookupServiceNetworkResultOutputWithContext added in v5.41.0

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

type LookupServiceOutputArgs

type LookupServiceOutputArgs struct {
	// ID or Amazon Resource Name (ARN) of the service network
	ServiceIdentifier pulumi.StringInput `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

```go package main

import (

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

)

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

```

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 added in v5.41.0

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

```go package main

import (

"encoding/json"
"fmt"

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

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		currentCallerIdentity, err := aws.GetCallerIdentity(ctx, nil, nil)
		if err != nil {
			return err
		}
		currentPartition, err := aws.GetPartition(ctx, nil, nil)
		if err != nil {
			return err
		}
		exampleServiceNetwork, err := vpclattice.NewServiceNetwork(ctx, "exampleServiceNetwork", nil)
		if err != nil {
			return err
		}
		_, err = vpclattice.NewResourcePolicy(ctx, "exampleResourcePolicy", &vpclattice.ResourcePolicyArgs{
			ResourceArn: exampleServiceNetwork.Arn,
			Policy: exampleServiceNetwork.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", currentPartition.Partition, currentCallerIdentity.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
	})
}

```

## Import

VPC Lattice Resource Policy can be imported using the `resource_arn`, e.g.,

```sh

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

```

func GetResourcePolicy added in v5.41.0

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 added in v5.41.0

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 added in v5.41.0

func (*ResourcePolicy) ElementType() reflect.Type

func (*ResourcePolicy) ToResourcePolicyOutput added in v5.41.0

func (i *ResourcePolicy) ToResourcePolicyOutput() ResourcePolicyOutput

func (*ResourcePolicy) ToResourcePolicyOutputWithContext added in v5.41.0

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

type ResourcePolicyArgs added in v5.41.0

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 added in v5.41.0

func (ResourcePolicyArgs) ElementType() reflect.Type

type ResourcePolicyArray added in v5.41.0

type ResourcePolicyArray []ResourcePolicyInput

func (ResourcePolicyArray) ElementType added in v5.41.0

func (ResourcePolicyArray) ElementType() reflect.Type

func (ResourcePolicyArray) ToResourcePolicyArrayOutput added in v5.41.0

func (i ResourcePolicyArray) ToResourcePolicyArrayOutput() ResourcePolicyArrayOutput

func (ResourcePolicyArray) ToResourcePolicyArrayOutputWithContext added in v5.41.0

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

type ResourcePolicyArrayInput added in v5.41.0

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 added in v5.41.0

type ResourcePolicyArrayOutput struct{ *pulumi.OutputState }

func (ResourcePolicyArrayOutput) ElementType added in v5.41.0

func (ResourcePolicyArrayOutput) ElementType() reflect.Type

func (ResourcePolicyArrayOutput) Index added in v5.41.0

func (ResourcePolicyArrayOutput) ToResourcePolicyArrayOutput added in v5.41.0

func (o ResourcePolicyArrayOutput) ToResourcePolicyArrayOutput() ResourcePolicyArrayOutput

func (ResourcePolicyArrayOutput) ToResourcePolicyArrayOutputWithContext added in v5.41.0

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

type ResourcePolicyInput added in v5.41.0

type ResourcePolicyInput interface {
	pulumi.Input

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

type ResourcePolicyMap added in v5.41.0

type ResourcePolicyMap map[string]ResourcePolicyInput

func (ResourcePolicyMap) ElementType added in v5.41.0

func (ResourcePolicyMap) ElementType() reflect.Type

func (ResourcePolicyMap) ToResourcePolicyMapOutput added in v5.41.0

func (i ResourcePolicyMap) ToResourcePolicyMapOutput() ResourcePolicyMapOutput

func (ResourcePolicyMap) ToResourcePolicyMapOutputWithContext added in v5.41.0

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

type ResourcePolicyMapInput added in v5.41.0

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 added in v5.41.0

type ResourcePolicyMapOutput struct{ *pulumi.OutputState }

func (ResourcePolicyMapOutput) ElementType added in v5.41.0

func (ResourcePolicyMapOutput) ElementType() reflect.Type

func (ResourcePolicyMapOutput) MapIndex added in v5.41.0

func (ResourcePolicyMapOutput) ToResourcePolicyMapOutput added in v5.41.0

func (o ResourcePolicyMapOutput) ToResourcePolicyMapOutput() ResourcePolicyMapOutput

func (ResourcePolicyMapOutput) ToResourcePolicyMapOutputWithContext added in v5.41.0

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

type ResourcePolicyOutput added in v5.41.0

type ResourcePolicyOutput struct{ *pulumi.OutputState }

func (ResourcePolicyOutput) ElementType added in v5.41.0

func (ResourcePolicyOutput) ElementType() reflect.Type

func (ResourcePolicyOutput) Policy added in v5.41.0

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

func (ResourcePolicyOutput) ResourceArn added in v5.41.0

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 added in v5.41.0

func (o ResourcePolicyOutput) ToResourcePolicyOutput() ResourcePolicyOutput

func (ResourcePolicyOutput) ToResourcePolicyOutputWithContext added in v5.41.0

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

type ResourcePolicyState added in v5.41.0

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 added in v5.41.0

func (ResourcePolicyState) ElementType() reflect.Type

type Service

type Service struct {
	pulumi.CustomResourceState

	// ARN of the service. Do not begin the description with "An", "The", "Defines", "Indicates", or "Specifies," as these are verbose. In other words, "Indicates the amount of storage," can be rewritten as "Amount of storage," without losing any information.
	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"`
	// Concise description. Do not begin the description with "An", "The", "Defines", "Indicates", or "Specifies," as these are verbose. In other words, "Indicates the amount of storage," can be rewritten as "Amount of storage," without losing any information.
	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.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Resource for managing an AWS VPC Lattice Service.

## Example Usage ### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/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{
			AuthType:         pulumi.String("AWS_IAM"),
			CustomDomainName: pulumi.String("example.com"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

VPC Lattice Service can be imported using the `id`, e.g.,

```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.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Resource for managing an AWS VPC Lattice Service Network.

## Example Usage ### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/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{
			AuthType: pulumi.String("AWS_IAM"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

VPC Lattice Service Network can be imported using the `id`, e.g.,

```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

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

func (ServiceNetworkOutput) ToServiceNetworkOutput

func (o ServiceNetworkOutput) ToServiceNetworkOutput() ServiceNetworkOutput

func (ServiceNetworkOutput) ToServiceNetworkOutputWithContext

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

type ServiceNetworkServiceAssociation added in v5.37.0

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.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

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

## Example Usage ### Basic Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/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(aws_vpclattice_service.Example.Id),
			ServiceNetworkIdentifier: pulumi.Any(aws_vpclattice_service_network.Example.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

VPC Lattice Service Network Service Association can be imported using the `id`, e.g.,

```sh

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

```

func GetServiceNetworkServiceAssociation added in v5.37.0

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 added in v5.37.0

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 added in v5.37.0

func (*ServiceNetworkServiceAssociation) ToServiceNetworkServiceAssociationOutput added in v5.37.0

func (i *ServiceNetworkServiceAssociation) ToServiceNetworkServiceAssociationOutput() ServiceNetworkServiceAssociationOutput

func (*ServiceNetworkServiceAssociation) ToServiceNetworkServiceAssociationOutputWithContext added in v5.37.0

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

type ServiceNetworkServiceAssociationArgs added in v5.37.0

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 added in v5.37.0

type ServiceNetworkServiceAssociationArray added in v5.37.0

type ServiceNetworkServiceAssociationArray []ServiceNetworkServiceAssociationInput

func (ServiceNetworkServiceAssociationArray) ElementType added in v5.37.0

func (ServiceNetworkServiceAssociationArray) ToServiceNetworkServiceAssociationArrayOutput added in v5.37.0

func (i ServiceNetworkServiceAssociationArray) ToServiceNetworkServiceAssociationArrayOutput() ServiceNetworkServiceAssociationArrayOutput

func (ServiceNetworkServiceAssociationArray) ToServiceNetworkServiceAssociationArrayOutputWithContext added in v5.37.0

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

type ServiceNetworkServiceAssociationArrayInput added in v5.37.0

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 added in v5.37.0

type ServiceNetworkServiceAssociationArrayOutput struct{ *pulumi.OutputState }

func (ServiceNetworkServiceAssociationArrayOutput) ElementType added in v5.37.0

func (ServiceNetworkServiceAssociationArrayOutput) Index added in v5.37.0

func (ServiceNetworkServiceAssociationArrayOutput) ToServiceNetworkServiceAssociationArrayOutput added in v5.37.0

func (o ServiceNetworkServiceAssociationArrayOutput) ToServiceNetworkServiceAssociationArrayOutput() ServiceNetworkServiceAssociationArrayOutput

func (ServiceNetworkServiceAssociationArrayOutput) ToServiceNetworkServiceAssociationArrayOutputWithContext added in v5.37.0

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

type ServiceNetworkServiceAssociationDnsEntry added in v5.37.0

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 added in v5.37.0

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 added in v5.37.0

func (ServiceNetworkServiceAssociationDnsEntryArgs) ToServiceNetworkServiceAssociationDnsEntryOutput added in v5.37.0

func (i ServiceNetworkServiceAssociationDnsEntryArgs) ToServiceNetworkServiceAssociationDnsEntryOutput() ServiceNetworkServiceAssociationDnsEntryOutput

func (ServiceNetworkServiceAssociationDnsEntryArgs) ToServiceNetworkServiceAssociationDnsEntryOutputWithContext added in v5.37.0

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

type ServiceNetworkServiceAssociationDnsEntryArray added in v5.37.0

type ServiceNetworkServiceAssociationDnsEntryArray []ServiceNetworkServiceAssociationDnsEntryInput

func (ServiceNetworkServiceAssociationDnsEntryArray) ElementType added in v5.37.0

func (ServiceNetworkServiceAssociationDnsEntryArray) ToServiceNetworkServiceAssociationDnsEntryArrayOutput added in v5.37.0

func (i ServiceNetworkServiceAssociationDnsEntryArray) ToServiceNetworkServiceAssociationDnsEntryArrayOutput() ServiceNetworkServiceAssociationDnsEntryArrayOutput

func (ServiceNetworkServiceAssociationDnsEntryArray) ToServiceNetworkServiceAssociationDnsEntryArrayOutputWithContext added in v5.37.0

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

type ServiceNetworkServiceAssociationDnsEntryArrayInput added in v5.37.0

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 added in v5.37.0

type ServiceNetworkServiceAssociationDnsEntryArrayOutput struct{ *pulumi.OutputState }

func (ServiceNetworkServiceAssociationDnsEntryArrayOutput) ElementType added in v5.37.0

func (ServiceNetworkServiceAssociationDnsEntryArrayOutput) Index added in v5.37.0

func (ServiceNetworkServiceAssociationDnsEntryArrayOutput) ToServiceNetworkServiceAssociationDnsEntryArrayOutput added in v5.37.0

func (o ServiceNetworkServiceAssociationDnsEntryArrayOutput) ToServiceNetworkServiceAssociationDnsEntryArrayOutput() ServiceNetworkServiceAssociationDnsEntryArrayOutput

func (ServiceNetworkServiceAssociationDnsEntryArrayOutput) ToServiceNetworkServiceAssociationDnsEntryArrayOutputWithContext added in v5.37.0

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

type ServiceNetworkServiceAssociationDnsEntryInput added in v5.37.0

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 added in v5.37.0

type ServiceNetworkServiceAssociationDnsEntryOutput struct{ *pulumi.OutputState }

func (ServiceNetworkServiceAssociationDnsEntryOutput) DomainName added in v5.37.0

The domain name of the service.

func (ServiceNetworkServiceAssociationDnsEntryOutput) ElementType added in v5.37.0

func (ServiceNetworkServiceAssociationDnsEntryOutput) HostedZoneId added in v5.37.0

The ID of the hosted zone.

func (ServiceNetworkServiceAssociationDnsEntryOutput) ToServiceNetworkServiceAssociationDnsEntryOutput added in v5.37.0

func (o ServiceNetworkServiceAssociationDnsEntryOutput) ToServiceNetworkServiceAssociationDnsEntryOutput() ServiceNetworkServiceAssociationDnsEntryOutput

func (ServiceNetworkServiceAssociationDnsEntryOutput) ToServiceNetworkServiceAssociationDnsEntryOutputWithContext added in v5.37.0

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

type ServiceNetworkServiceAssociationInput added in v5.37.0

type ServiceNetworkServiceAssociationInput interface {
	pulumi.Input

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

type ServiceNetworkServiceAssociationMap added in v5.37.0

type ServiceNetworkServiceAssociationMap map[string]ServiceNetworkServiceAssociationInput

func (ServiceNetworkServiceAssociationMap) ElementType added in v5.37.0

func (ServiceNetworkServiceAssociationMap) ToServiceNetworkServiceAssociationMapOutput added in v5.37.0

func (i ServiceNetworkServiceAssociationMap) ToServiceNetworkServiceAssociationMapOutput() ServiceNetworkServiceAssociationMapOutput

func (ServiceNetworkServiceAssociationMap) ToServiceNetworkServiceAssociationMapOutputWithContext added in v5.37.0

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

type ServiceNetworkServiceAssociationMapInput added in v5.37.0

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 added in v5.37.0

type ServiceNetworkServiceAssociationMapOutput struct{ *pulumi.OutputState }

func (ServiceNetworkServiceAssociationMapOutput) ElementType added in v5.37.0

func (ServiceNetworkServiceAssociationMapOutput) MapIndex added in v5.37.0

func (ServiceNetworkServiceAssociationMapOutput) ToServiceNetworkServiceAssociationMapOutput added in v5.37.0

func (o ServiceNetworkServiceAssociationMapOutput) ToServiceNetworkServiceAssociationMapOutput() ServiceNetworkServiceAssociationMapOutput

func (ServiceNetworkServiceAssociationMapOutput) ToServiceNetworkServiceAssociationMapOutputWithContext added in v5.37.0

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

type ServiceNetworkServiceAssociationOutput added in v5.37.0

type ServiceNetworkServiceAssociationOutput struct{ *pulumi.OutputState }

func (ServiceNetworkServiceAssociationOutput) Arn added in v5.37.0

The ARN of the Association.

func (ServiceNetworkServiceAssociationOutput) CreatedBy added in v5.37.0

The account that created the association.

func (ServiceNetworkServiceAssociationOutput) CustomDomainName added in v5.37.0

The custom domain name of the service.

func (ServiceNetworkServiceAssociationOutput) DnsEntries added in v5.37.0

The DNS name of the service.

func (ServiceNetworkServiceAssociationOutput) ElementType added in v5.37.0

func (ServiceNetworkServiceAssociationOutput) ServiceIdentifier added in v5.37.0

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

func (ServiceNetworkServiceAssociationOutput) ServiceNetworkIdentifier added in v5.37.0

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 added in v5.37.0

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

func (ServiceNetworkServiceAssociationOutput) Tags added in v5.37.0

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 added in v5.37.0

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

func (ServiceNetworkServiceAssociationOutput) ToServiceNetworkServiceAssociationOutput added in v5.37.0

func (o ServiceNetworkServiceAssociationOutput) ToServiceNetworkServiceAssociationOutput() ServiceNetworkServiceAssociationOutput

func (ServiceNetworkServiceAssociationOutput) ToServiceNetworkServiceAssociationOutputWithContext added in v5.37.0

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

type ServiceNetworkServiceAssociationState added in v5.37.0

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.
	TagsAll pulumi.StringMapInput
}

func (ServiceNetworkServiceAssociationState) ElementType added in v5.37.0

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.
	TagsAll pulumi.StringMapInput
}

func (ServiceNetworkState) ElementType

func (ServiceNetworkState) ElementType() reflect.Type

type ServiceNetworkVpcAssociation added in v5.37.0

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.
	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

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/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(aws_vpc.Example.Id),
			ServiceNetworkIdentifier: pulumi.Any(aws_vpclattice_service_network.Example.Id),
			SecurityGroupIds: pulumi.StringArray{
				aws_security_group.Example.Id,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

VPC Lattice Service Network VPC Association can be imported using the `id`, e.g.,

```sh

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

```

func GetServiceNetworkVpcAssociation added in v5.37.0

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 added in v5.37.0

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 added in v5.37.0

func (*ServiceNetworkVpcAssociation) ElementType() reflect.Type

func (*ServiceNetworkVpcAssociation) ToServiceNetworkVpcAssociationOutput added in v5.37.0

func (i *ServiceNetworkVpcAssociation) ToServiceNetworkVpcAssociationOutput() ServiceNetworkVpcAssociationOutput

func (*ServiceNetworkVpcAssociation) ToServiceNetworkVpcAssociationOutputWithContext added in v5.37.0

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

type ServiceNetworkVpcAssociationArgs added in v5.37.0

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 added in v5.37.0

type ServiceNetworkVpcAssociationArray added in v5.37.0

type ServiceNetworkVpcAssociationArray []ServiceNetworkVpcAssociationInput

func (ServiceNetworkVpcAssociationArray) ElementType added in v5.37.0

func (ServiceNetworkVpcAssociationArray) ToServiceNetworkVpcAssociationArrayOutput added in v5.37.0

func (i ServiceNetworkVpcAssociationArray) ToServiceNetworkVpcAssociationArrayOutput() ServiceNetworkVpcAssociationArrayOutput

func (ServiceNetworkVpcAssociationArray) ToServiceNetworkVpcAssociationArrayOutputWithContext added in v5.37.0

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

type ServiceNetworkVpcAssociationArrayInput added in v5.37.0

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 added in v5.37.0

type ServiceNetworkVpcAssociationArrayOutput struct{ *pulumi.OutputState }

func (ServiceNetworkVpcAssociationArrayOutput) ElementType added in v5.37.0

func (ServiceNetworkVpcAssociationArrayOutput) Index added in v5.37.0

func (ServiceNetworkVpcAssociationArrayOutput) ToServiceNetworkVpcAssociationArrayOutput added in v5.37.0

func (o ServiceNetworkVpcAssociationArrayOutput) ToServiceNetworkVpcAssociationArrayOutput() ServiceNetworkVpcAssociationArrayOutput

func (ServiceNetworkVpcAssociationArrayOutput) ToServiceNetworkVpcAssociationArrayOutputWithContext added in v5.37.0

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

type ServiceNetworkVpcAssociationInput added in v5.37.0

type ServiceNetworkVpcAssociationInput interface {
	pulumi.Input

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

type ServiceNetworkVpcAssociationMap added in v5.37.0

type ServiceNetworkVpcAssociationMap map[string]ServiceNetworkVpcAssociationInput

func (ServiceNetworkVpcAssociationMap) ElementType added in v5.37.0

func (ServiceNetworkVpcAssociationMap) ToServiceNetworkVpcAssociationMapOutput added in v5.37.0

func (i ServiceNetworkVpcAssociationMap) ToServiceNetworkVpcAssociationMapOutput() ServiceNetworkVpcAssociationMapOutput

func (ServiceNetworkVpcAssociationMap) ToServiceNetworkVpcAssociationMapOutputWithContext added in v5.37.0

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

type ServiceNetworkVpcAssociationMapInput added in v5.37.0

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 added in v5.37.0

type ServiceNetworkVpcAssociationMapOutput struct{ *pulumi.OutputState }

func (ServiceNetworkVpcAssociationMapOutput) ElementType added in v5.37.0

func (ServiceNetworkVpcAssociationMapOutput) MapIndex added in v5.37.0

func (ServiceNetworkVpcAssociationMapOutput) ToServiceNetworkVpcAssociationMapOutput added in v5.37.0

func (o ServiceNetworkVpcAssociationMapOutput) ToServiceNetworkVpcAssociationMapOutput() ServiceNetworkVpcAssociationMapOutput

func (ServiceNetworkVpcAssociationMapOutput) ToServiceNetworkVpcAssociationMapOutputWithContext added in v5.37.0

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

type ServiceNetworkVpcAssociationOutput added in v5.37.0

type ServiceNetworkVpcAssociationOutput struct{ *pulumi.OutputState }

func (ServiceNetworkVpcAssociationOutput) Arn added in v5.37.0

The ARN of the Association.

func (ServiceNetworkVpcAssociationOutput) CreatedBy added in v5.37.0

The account that created the association.

func (ServiceNetworkVpcAssociationOutput) ElementType added in v5.37.0

func (ServiceNetworkVpcAssociationOutput) SecurityGroupIds added in v5.37.0

The IDs of the security groups.

func (ServiceNetworkVpcAssociationOutput) ServiceNetworkIdentifier added in v5.37.0

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 added in v5.37.0

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

func (ServiceNetworkVpcAssociationOutput) Tags added in v5.37.0

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 added in v5.37.0

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

func (ServiceNetworkVpcAssociationOutput) ToServiceNetworkVpcAssociationOutput added in v5.37.0

func (o ServiceNetworkVpcAssociationOutput) ToServiceNetworkVpcAssociationOutput() ServiceNetworkVpcAssociationOutput

func (ServiceNetworkVpcAssociationOutput) ToServiceNetworkVpcAssociationOutputWithContext added in v5.37.0

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

func (ServiceNetworkVpcAssociationOutput) VpcIdentifier added in v5.37.0

The ID of the VPC.

type ServiceNetworkVpcAssociationState added in v5.37.0

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.
	TagsAll pulumi.StringMapInput
	// The ID of the VPC.
	VpcIdentifier pulumi.StringPtrInput
}

func (ServiceNetworkVpcAssociationState) ElementType added in v5.37.0

type ServiceOutput

type ServiceOutput struct{ *pulumi.OutputState }

func (ServiceOutput) Arn

ARN of the service. Do not begin the description with "An", "The", "Defines", "Indicates", or "Specifies," as these are verbose. In other words, "Indicates the amount of storage," can be rewritten as "Amount of storage," without losing any information.

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

Concise description. Do not begin the description with "An", "The", "Defines", "Indicates", or "Specifies," as these are verbose. In other words, "Indicates the amount of storage," can be rewritten as "Amount of storage," without losing any information.

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

func (o ServiceOutput) TagsAll() pulumi.StringMapOutput

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

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. Do not begin the description with "An", "The", "Defines", "Indicates", or "Specifies," as these are verbose. In other words, "Indicates the amount of storage," can be rewritten as "Amount of storage," without losing any information.
	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
	// Concise description. Do not begin the description with "An", "The", "Defines", "Indicates", or "Specifies," as these are verbose. In other words, "Indicates the amount of storage," can be rewritten as "Amount of storage," without losing any information.
	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.
	TagsAll pulumi.StringMapInput
}

func (ServiceState) ElementType

func (ServiceState) ElementType() reflect.Type

type TargetGroup added in v5.37.0

type TargetGroup struct {
	pulumi.CustomResourceState

	// ARN of the target group.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The target group configuration. If type is set to `LAMBDA,` this parameter should not be specified.
	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.
	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

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/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{
			Type: pulumi.String("INSTANCE"),
			Config: &vpclattice.TargetGroupConfigArgs{
				Port:          pulumi.Int(443),
				Protocol:      pulumi.String("HTTPS"),
				VpcIdentifier: pulumi.Any(aws_vpc.Example.Id),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Basic usage with Health check

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/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{
			Type: pulumi.String("ALB"),
			Config: &vpclattice.TargetGroupConfigArgs{
				Port:            pulumi.Int(443),
				Protocol:        pulumi.String("HTTPS"),
				VpcIdentifier:   pulumi.Any(aws_vpc.Example.Id),
				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
	})
}

``` ### Lambda

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

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/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{
			Type: pulumi.String("LAMBDA"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

VPC Lattice Target Group can be imported using the `id`, e.g.,

```sh

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

```

func GetTargetGroup added in v5.37.0

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 added in v5.37.0

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 added in v5.37.0

func (*TargetGroup) ElementType() reflect.Type

func (*TargetGroup) ToTargetGroupOutput added in v5.37.0

func (i *TargetGroup) ToTargetGroupOutput() TargetGroupOutput

func (*TargetGroup) ToTargetGroupOutputWithContext added in v5.37.0

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

type TargetGroupArgs added in v5.37.0

type TargetGroupArgs struct {
	// The target group configuration. If type is set to `LAMBDA,` this parameter should not be specified.
	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 added in v5.37.0

func (TargetGroupArgs) ElementType() reflect.Type

type TargetGroupArray added in v5.37.0

type TargetGroupArray []TargetGroupInput

func (TargetGroupArray) ElementType added in v5.37.0

func (TargetGroupArray) ElementType() reflect.Type

func (TargetGroupArray) ToTargetGroupArrayOutput added in v5.37.0

func (i TargetGroupArray) ToTargetGroupArrayOutput() TargetGroupArrayOutput

func (TargetGroupArray) ToTargetGroupArrayOutputWithContext added in v5.37.0

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

type TargetGroupArrayInput added in v5.37.0

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 added in v5.37.0

type TargetGroupArrayOutput struct{ *pulumi.OutputState }

func (TargetGroupArrayOutput) ElementType added in v5.37.0

func (TargetGroupArrayOutput) ElementType() reflect.Type

func (TargetGroupArrayOutput) Index added in v5.37.0

func (TargetGroupArrayOutput) ToTargetGroupArrayOutput added in v5.37.0

func (o TargetGroupArrayOutput) ToTargetGroupArrayOutput() TargetGroupArrayOutput

func (TargetGroupArrayOutput) ToTargetGroupArrayOutputWithContext added in v5.37.0

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

type TargetGroupAttachment added in v5.41.0

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

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v5/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(aws_vpclattice_target_group.Example.Id),
			Target: &vpclattice.TargetGroupAttachmentTargetArgs{
				Id:   pulumi.Any(aws_lb.Example.Arn),
				Port: pulumi.Int(80),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetTargetGroupAttachment added in v5.41.0

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 added in v5.41.0

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 added in v5.41.0

func (*TargetGroupAttachment) ElementType() reflect.Type

func (*TargetGroupAttachment) ToTargetGroupAttachmentOutput added in v5.41.0

func (i *TargetGroupAttachment) ToTargetGroupAttachmentOutput() TargetGroupAttachmentOutput

func (*TargetGroupAttachment) ToTargetGroupAttachmentOutputWithContext added in v5.41.0

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

type TargetGroupAttachmentArgs added in v5.41.0

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 added in v5.41.0

func (TargetGroupAttachmentArgs) ElementType() reflect.Type

type TargetGroupAttachmentArray added in v5.41.0

type TargetGroupAttachmentArray []TargetGroupAttachmentInput

func (TargetGroupAttachmentArray) ElementType added in v5.41.0

func (TargetGroupAttachmentArray) ElementType() reflect.Type

func (TargetGroupAttachmentArray) ToTargetGroupAttachmentArrayOutput added in v5.41.0

func (i TargetGroupAttachmentArray) ToTargetGroupAttachmentArrayOutput() TargetGroupAttachmentArrayOutput

func (TargetGroupAttachmentArray) ToTargetGroupAttachmentArrayOutputWithContext added in v5.41.0

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

type TargetGroupAttachmentArrayInput added in v5.41.0

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 added in v5.41.0

type TargetGroupAttachmentArrayOutput struct{ *pulumi.OutputState }

func (TargetGroupAttachmentArrayOutput) ElementType added in v5.41.0

func (TargetGroupAttachmentArrayOutput) Index added in v5.41.0

func (TargetGroupAttachmentArrayOutput) ToTargetGroupAttachmentArrayOutput added in v5.41.0

func (o TargetGroupAttachmentArrayOutput) ToTargetGroupAttachmentArrayOutput() TargetGroupAttachmentArrayOutput

func (TargetGroupAttachmentArrayOutput) ToTargetGroupAttachmentArrayOutputWithContext added in v5.41.0

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

type TargetGroupAttachmentInput added in v5.41.0

type TargetGroupAttachmentInput interface {
	pulumi.Input

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

type TargetGroupAttachmentMap added in v5.41.0

type TargetGroupAttachmentMap map[string]TargetGroupAttachmentInput

func (TargetGroupAttachmentMap) ElementType added in v5.41.0

func (TargetGroupAttachmentMap) ElementType() reflect.Type

func (TargetGroupAttachmentMap) ToTargetGroupAttachmentMapOutput added in v5.41.0

func (i TargetGroupAttachmentMap) ToTargetGroupAttachmentMapOutput() TargetGroupAttachmentMapOutput

func (TargetGroupAttachmentMap) ToTargetGroupAttachmentMapOutputWithContext added in v5.41.0

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

type TargetGroupAttachmentMapInput added in v5.41.0

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 added in v5.41.0

type TargetGroupAttachmentMapOutput struct{ *pulumi.OutputState }

func (TargetGroupAttachmentMapOutput) ElementType added in v5.41.0

func (TargetGroupAttachmentMapOutput) MapIndex added in v5.41.0

func (TargetGroupAttachmentMapOutput) ToTargetGroupAttachmentMapOutput added in v5.41.0

func (o TargetGroupAttachmentMapOutput) ToTargetGroupAttachmentMapOutput() TargetGroupAttachmentMapOutput

func (TargetGroupAttachmentMapOutput) ToTargetGroupAttachmentMapOutputWithContext added in v5.41.0

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

type TargetGroupAttachmentOutput added in v5.41.0

type TargetGroupAttachmentOutput struct{ *pulumi.OutputState }

func (TargetGroupAttachmentOutput) ElementType added in v5.41.0

func (TargetGroupAttachmentOutput) Target added in v5.41.0

The target.

func (TargetGroupAttachmentOutput) TargetGroupIdentifier added in v5.41.0

func (o TargetGroupAttachmentOutput) TargetGroupIdentifier() pulumi.StringOutput

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

func (TargetGroupAttachmentOutput) ToTargetGroupAttachmentOutput added in v5.41.0

func (o TargetGroupAttachmentOutput) ToTargetGroupAttachmentOutput() TargetGroupAttachmentOutput

func (TargetGroupAttachmentOutput) ToTargetGroupAttachmentOutputWithContext added in v5.41.0

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

type TargetGroupAttachmentState added in v5.41.0

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

func (TargetGroupAttachmentState) ElementType added in v5.41.0

func (TargetGroupAttachmentState) ElementType() reflect.Type

type TargetGroupAttachmentTarget added in v5.41.0

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"`
	// The port on which the target is listening. For HTTP, the default is 80. For HTTPS, the default is 443.
	Port *int `pulumi:"port"`
}

type TargetGroupAttachmentTargetArgs added in v5.41.0

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"`
	// The port on which the target is listening. For HTTP, the default is 80. For HTTPS, the default is 443.
	Port pulumi.IntPtrInput `pulumi:"port"`
}

func (TargetGroupAttachmentTargetArgs) ElementType added in v5.41.0

func (TargetGroupAttachmentTargetArgs) ToTargetGroupAttachmentTargetOutput added in v5.41.0

func (i TargetGroupAttachmentTargetArgs) ToTargetGroupAttachmentTargetOutput() TargetGroupAttachmentTargetOutput

func (TargetGroupAttachmentTargetArgs) ToTargetGroupAttachmentTargetOutputWithContext added in v5.41.0

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

func (TargetGroupAttachmentTargetArgs) ToTargetGroupAttachmentTargetPtrOutput added in v5.41.0

func (i TargetGroupAttachmentTargetArgs) ToTargetGroupAttachmentTargetPtrOutput() TargetGroupAttachmentTargetPtrOutput

func (TargetGroupAttachmentTargetArgs) ToTargetGroupAttachmentTargetPtrOutputWithContext added in v5.41.0

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

type TargetGroupAttachmentTargetInput added in v5.41.0

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 added in v5.41.0

type TargetGroupAttachmentTargetOutput struct{ *pulumi.OutputState }

func (TargetGroupAttachmentTargetOutput) ElementType added in v5.41.0

func (TargetGroupAttachmentTargetOutput) Id added in v5.41.0

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 added in v5.41.0

The port on which the target is listening. For HTTP, the default is 80. For HTTPS, the default is 443.

func (TargetGroupAttachmentTargetOutput) ToTargetGroupAttachmentTargetOutput added in v5.41.0

func (o TargetGroupAttachmentTargetOutput) ToTargetGroupAttachmentTargetOutput() TargetGroupAttachmentTargetOutput

func (TargetGroupAttachmentTargetOutput) ToTargetGroupAttachmentTargetOutputWithContext added in v5.41.0

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

func (TargetGroupAttachmentTargetOutput) ToTargetGroupAttachmentTargetPtrOutput added in v5.41.0

func (o TargetGroupAttachmentTargetOutput) ToTargetGroupAttachmentTargetPtrOutput() TargetGroupAttachmentTargetPtrOutput

func (TargetGroupAttachmentTargetOutput) ToTargetGroupAttachmentTargetPtrOutputWithContext added in v5.41.0

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

type TargetGroupAttachmentTargetPtrInput added in v5.41.0

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

func TargetGroupAttachmentTargetPtr added in v5.41.0

type TargetGroupAttachmentTargetPtrOutput added in v5.41.0

type TargetGroupAttachmentTargetPtrOutput struct{ *pulumi.OutputState }

func (TargetGroupAttachmentTargetPtrOutput) Elem added in v5.41.0

func (TargetGroupAttachmentTargetPtrOutput) ElementType added in v5.41.0

func (TargetGroupAttachmentTargetPtrOutput) Id added in v5.41.0

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 added in v5.41.0

The port on which the target is listening. For HTTP, the default is 80. For HTTPS, the default is 443.

func (TargetGroupAttachmentTargetPtrOutput) ToTargetGroupAttachmentTargetPtrOutput added in v5.41.0

func (o TargetGroupAttachmentTargetPtrOutput) ToTargetGroupAttachmentTargetPtrOutput() TargetGroupAttachmentTargetPtrOutput

func (TargetGroupAttachmentTargetPtrOutput) ToTargetGroupAttachmentTargetPtrOutputWithContext added in v5.41.0

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

type TargetGroupConfig added in v5.37.0

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 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 added in v5.37.0

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 port on which the targets are listening.
	Port pulumi.IntInput `pulumi:"port"`
	// The protocol to use for routing traffic to the targets. Valid Values are `HTTP` | `HTTPS`
	Protocol pulumi.StringInput `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.StringInput `pulumi:"vpcIdentifier"`
}

func (TargetGroupConfigArgs) ElementType added in v5.37.0

func (TargetGroupConfigArgs) ElementType() reflect.Type

func (TargetGroupConfigArgs) ToTargetGroupConfigOutput added in v5.37.0

func (i TargetGroupConfigArgs) ToTargetGroupConfigOutput() TargetGroupConfigOutput

func (TargetGroupConfigArgs) ToTargetGroupConfigOutputWithContext added in v5.37.0

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

func (TargetGroupConfigArgs) ToTargetGroupConfigPtrOutput added in v5.37.0

func (i TargetGroupConfigArgs) ToTargetGroupConfigPtrOutput() TargetGroupConfigPtrOutput

func (TargetGroupConfigArgs) ToTargetGroupConfigPtrOutputWithContext added in v5.37.0

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

type TargetGroupConfigHealthCheck added in v5.37.0

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 added in v5.37.0

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 added in v5.37.0

func (TargetGroupConfigHealthCheckArgs) ToTargetGroupConfigHealthCheckOutput added in v5.37.0

func (i TargetGroupConfigHealthCheckArgs) ToTargetGroupConfigHealthCheckOutput() TargetGroupConfigHealthCheckOutput

func (TargetGroupConfigHealthCheckArgs) ToTargetGroupConfigHealthCheckOutputWithContext added in v5.37.0

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

func (TargetGroupConfigHealthCheckArgs) ToTargetGroupConfigHealthCheckPtrOutput added in v5.37.0

func (i TargetGroupConfigHealthCheckArgs) ToTargetGroupConfigHealthCheckPtrOutput() TargetGroupConfigHealthCheckPtrOutput

func (TargetGroupConfigHealthCheckArgs) ToTargetGroupConfigHealthCheckPtrOutputWithContext added in v5.37.0

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

type TargetGroupConfigHealthCheckInput added in v5.37.0

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 added in v5.37.0

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

type TargetGroupConfigHealthCheckMatcherArgs added in v5.37.0

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 added in v5.37.0

func (TargetGroupConfigHealthCheckMatcherArgs) ToTargetGroupConfigHealthCheckMatcherOutput added in v5.37.0

func (i TargetGroupConfigHealthCheckMatcherArgs) ToTargetGroupConfigHealthCheckMatcherOutput() TargetGroupConfigHealthCheckMatcherOutput

func (TargetGroupConfigHealthCheckMatcherArgs) ToTargetGroupConfigHealthCheckMatcherOutputWithContext added in v5.37.0

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

func (TargetGroupConfigHealthCheckMatcherArgs) ToTargetGroupConfigHealthCheckMatcherPtrOutput added in v5.37.0

func (i TargetGroupConfigHealthCheckMatcherArgs) ToTargetGroupConfigHealthCheckMatcherPtrOutput() TargetGroupConfigHealthCheckMatcherPtrOutput

func (TargetGroupConfigHealthCheckMatcherArgs) ToTargetGroupConfigHealthCheckMatcherPtrOutputWithContext added in v5.37.0

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

type TargetGroupConfigHealthCheckMatcherInput added in v5.37.0

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 added in v5.37.0

type TargetGroupConfigHealthCheckMatcherOutput struct{ *pulumi.OutputState }

func (TargetGroupConfigHealthCheckMatcherOutput) ElementType added in v5.37.0

func (TargetGroupConfigHealthCheckMatcherOutput) ToTargetGroupConfigHealthCheckMatcherOutput added in v5.37.0

func (o TargetGroupConfigHealthCheckMatcherOutput) ToTargetGroupConfigHealthCheckMatcherOutput() TargetGroupConfigHealthCheckMatcherOutput

func (TargetGroupConfigHealthCheckMatcherOutput) ToTargetGroupConfigHealthCheckMatcherOutputWithContext added in v5.37.0

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

func (TargetGroupConfigHealthCheckMatcherOutput) ToTargetGroupConfigHealthCheckMatcherPtrOutput added in v5.37.0

func (o TargetGroupConfigHealthCheckMatcherOutput) ToTargetGroupConfigHealthCheckMatcherPtrOutput() TargetGroupConfigHealthCheckMatcherPtrOutput

func (TargetGroupConfigHealthCheckMatcherOutput) ToTargetGroupConfigHealthCheckMatcherPtrOutputWithContext added in v5.37.0

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

func (TargetGroupConfigHealthCheckMatcherOutput) Value added in v5.37.0

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

type TargetGroupConfigHealthCheckMatcherPtrInput added in v5.37.0

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 added in v5.37.0

type TargetGroupConfigHealthCheckMatcherPtrOutput struct{ *pulumi.OutputState }

func (TargetGroupConfigHealthCheckMatcherPtrOutput) Elem added in v5.37.0

func (TargetGroupConfigHealthCheckMatcherPtrOutput) ElementType added in v5.37.0

func (TargetGroupConfigHealthCheckMatcherPtrOutput) ToTargetGroupConfigHealthCheckMatcherPtrOutput added in v5.37.0

func (o TargetGroupConfigHealthCheckMatcherPtrOutput) ToTargetGroupConfigHealthCheckMatcherPtrOutput() TargetGroupConfigHealthCheckMatcherPtrOutput

func (TargetGroupConfigHealthCheckMatcherPtrOutput) ToTargetGroupConfigHealthCheckMatcherPtrOutputWithContext added in v5.37.0

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

func (TargetGroupConfigHealthCheckMatcherPtrOutput) Value added in v5.37.0

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

type TargetGroupConfigHealthCheckOutput added in v5.37.0

type TargetGroupConfigHealthCheckOutput struct{ *pulumi.OutputState }

func (TargetGroupConfigHealthCheckOutput) ElementType added in v5.37.0

func (TargetGroupConfigHealthCheckOutput) Enabled added in v5.37.0

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

func (TargetGroupConfigHealthCheckOutput) HealthCheckIntervalSeconds added in v5.37.0

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 added in v5.37.0

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 added in v5.37.0

func (o TargetGroupConfigHealthCheckOutput) HealthyThresholdCount() pulumi.IntPtrOutput

func (TargetGroupConfigHealthCheckOutput) Matcher added in v5.37.0

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

func (TargetGroupConfigHealthCheckOutput) Path added in v5.37.0

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 added in v5.37.0

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

func (TargetGroupConfigHealthCheckOutput) Protocol added in v5.37.0

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

func (TargetGroupConfigHealthCheckOutput) ProtocolVersion added in v5.37.0

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 added in v5.37.0

func (o TargetGroupConfigHealthCheckOutput) ToTargetGroupConfigHealthCheckOutput() TargetGroupConfigHealthCheckOutput

func (TargetGroupConfigHealthCheckOutput) ToTargetGroupConfigHealthCheckOutputWithContext added in v5.37.0

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

func (TargetGroupConfigHealthCheckOutput) ToTargetGroupConfigHealthCheckPtrOutput added in v5.37.0

func (o TargetGroupConfigHealthCheckOutput) ToTargetGroupConfigHealthCheckPtrOutput() TargetGroupConfigHealthCheckPtrOutput

func (TargetGroupConfigHealthCheckOutput) ToTargetGroupConfigHealthCheckPtrOutputWithContext added in v5.37.0

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

func (TargetGroupConfigHealthCheckOutput) UnhealthyThresholdCount added in v5.37.0

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 added in v5.37.0

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

func TargetGroupConfigHealthCheckPtr added in v5.37.0

type TargetGroupConfigHealthCheckPtrOutput added in v5.37.0

type TargetGroupConfigHealthCheckPtrOutput struct{ *pulumi.OutputState }

func (TargetGroupConfigHealthCheckPtrOutput) Elem added in v5.37.0

func (TargetGroupConfigHealthCheckPtrOutput) ElementType added in v5.37.0

func (TargetGroupConfigHealthCheckPtrOutput) Enabled added in v5.37.0

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

func (TargetGroupConfigHealthCheckPtrOutput) HealthCheckIntervalSeconds added in v5.37.0

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 added in v5.37.0

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 added in v5.37.0

func (o TargetGroupConfigHealthCheckPtrOutput) HealthyThresholdCount() pulumi.IntPtrOutput

func (TargetGroupConfigHealthCheckPtrOutput) Matcher added in v5.37.0

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

func (TargetGroupConfigHealthCheckPtrOutput) Path added in v5.37.0

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 added in v5.37.0

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

func (TargetGroupConfigHealthCheckPtrOutput) Protocol added in v5.37.0

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

func (TargetGroupConfigHealthCheckPtrOutput) ProtocolVersion added in v5.37.0

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 added in v5.37.0

func (o TargetGroupConfigHealthCheckPtrOutput) ToTargetGroupConfigHealthCheckPtrOutput() TargetGroupConfigHealthCheckPtrOutput

func (TargetGroupConfigHealthCheckPtrOutput) ToTargetGroupConfigHealthCheckPtrOutputWithContext added in v5.37.0

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

func (TargetGroupConfigHealthCheckPtrOutput) UnhealthyThresholdCount added in v5.37.0

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 added in v5.37.0

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 added in v5.37.0

type TargetGroupConfigOutput struct{ *pulumi.OutputState }

func (TargetGroupConfigOutput) ElementType added in v5.37.0

func (TargetGroupConfigOutput) ElementType() reflect.Type

func (TargetGroupConfigOutput) HealthCheck added in v5.37.0

The health check configuration.

func (TargetGroupConfigOutput) IpAddressType added in v5.37.0

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

func (TargetGroupConfigOutput) Port added in v5.37.0

The port on which the targets are listening.

func (TargetGroupConfigOutput) Protocol added in v5.37.0

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

func (TargetGroupConfigOutput) ProtocolVersion added in v5.37.0

func (o TargetGroupConfigOutput) ProtocolVersion() pulumi.StringPtrOutput

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

func (TargetGroupConfigOutput) ToTargetGroupConfigOutput added in v5.37.0

func (o TargetGroupConfigOutput) ToTargetGroupConfigOutput() TargetGroupConfigOutput

func (TargetGroupConfigOutput) ToTargetGroupConfigOutputWithContext added in v5.37.0

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

func (TargetGroupConfigOutput) ToTargetGroupConfigPtrOutput added in v5.37.0

func (o TargetGroupConfigOutput) ToTargetGroupConfigPtrOutput() TargetGroupConfigPtrOutput

func (TargetGroupConfigOutput) ToTargetGroupConfigPtrOutputWithContext added in v5.37.0

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

func (TargetGroupConfigOutput) VpcIdentifier added in v5.37.0

func (o TargetGroupConfigOutput) VpcIdentifier() pulumi.StringOutput

The ID of the VPC.

type TargetGroupConfigPtrInput added in v5.37.0

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

func TargetGroupConfigPtr added in v5.37.0

func TargetGroupConfigPtr(v *TargetGroupConfigArgs) TargetGroupConfigPtrInput

type TargetGroupConfigPtrOutput added in v5.37.0

type TargetGroupConfigPtrOutput struct{ *pulumi.OutputState }

func (TargetGroupConfigPtrOutput) Elem added in v5.37.0

func (TargetGroupConfigPtrOutput) ElementType added in v5.37.0

func (TargetGroupConfigPtrOutput) ElementType() reflect.Type

func (TargetGroupConfigPtrOutput) HealthCheck added in v5.37.0

The health check configuration.

func (TargetGroupConfigPtrOutput) IpAddressType added in v5.37.0

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

func (TargetGroupConfigPtrOutput) Port added in v5.37.0

The port on which the targets are listening.

func (TargetGroupConfigPtrOutput) Protocol added in v5.37.0

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

func (TargetGroupConfigPtrOutput) ProtocolVersion added in v5.37.0

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

func (TargetGroupConfigPtrOutput) ToTargetGroupConfigPtrOutput added in v5.37.0

func (o TargetGroupConfigPtrOutput) ToTargetGroupConfigPtrOutput() TargetGroupConfigPtrOutput

func (TargetGroupConfigPtrOutput) ToTargetGroupConfigPtrOutputWithContext added in v5.37.0

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

func (TargetGroupConfigPtrOutput) VpcIdentifier added in v5.37.0

The ID of the VPC.

type TargetGroupInput added in v5.37.0

type TargetGroupInput interface {
	pulumi.Input

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

type TargetGroupMap added in v5.37.0

type TargetGroupMap map[string]TargetGroupInput

func (TargetGroupMap) ElementType added in v5.37.0

func (TargetGroupMap) ElementType() reflect.Type

func (TargetGroupMap) ToTargetGroupMapOutput added in v5.37.0

func (i TargetGroupMap) ToTargetGroupMapOutput() TargetGroupMapOutput

func (TargetGroupMap) ToTargetGroupMapOutputWithContext added in v5.37.0

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

type TargetGroupMapInput added in v5.37.0

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 added in v5.37.0

type TargetGroupMapOutput struct{ *pulumi.OutputState }

func (TargetGroupMapOutput) ElementType added in v5.37.0

func (TargetGroupMapOutput) ElementType() reflect.Type

func (TargetGroupMapOutput) MapIndex added in v5.37.0

func (TargetGroupMapOutput) ToTargetGroupMapOutput added in v5.37.0

func (o TargetGroupMapOutput) ToTargetGroupMapOutput() TargetGroupMapOutput

func (TargetGroupMapOutput) ToTargetGroupMapOutputWithContext added in v5.37.0

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

type TargetGroupOutput added in v5.37.0

type TargetGroupOutput struct{ *pulumi.OutputState }

func (TargetGroupOutput) Arn added in v5.37.0

ARN of the target group.

func (TargetGroupOutput) Config added in v5.37.0

The target group configuration. If type is set to `LAMBDA,` this parameter should not be specified.

func (TargetGroupOutput) ElementType added in v5.37.0

func (TargetGroupOutput) ElementType() reflect.Type

func (TargetGroupOutput) Name added in v5.37.0

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 added in v5.37.0

Status of the target group.

func (TargetGroupOutput) Tags added in v5.37.0

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 added in v5.37.0

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

func (TargetGroupOutput) ToTargetGroupOutput added in v5.37.0

func (o TargetGroupOutput) ToTargetGroupOutput() TargetGroupOutput

func (TargetGroupOutput) ToTargetGroupOutputWithContext added in v5.37.0

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

func (TargetGroupOutput) Type added in v5.37.0

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

The following arguments are optional:

type TargetGroupState added in v5.37.0

type TargetGroupState struct {
	// ARN of the target group.
	Arn pulumi.StringPtrInput
	// The target group configuration. If type is set to `LAMBDA,` this parameter should not be specified.
	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.
	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 added in v5.37.0

func (TargetGroupState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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