1. Packages
  2. AWS
  3. API Docs
  4. vpclattice
  5. ResourceConfiguration
AWS v6.76.0 published on Tuesday, Apr 8, 2025 by Pulumi

aws.vpclattice.ResourceConfiguration

Explore with Pulumi AI

Resource for managing an AWS VPC Lattice Resource Configuration.

Example Usage

Basic Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.vpclattice.ResourceConfiguration("example", {
    name: "Example",
    resourceGatewayIdentifier: exampleAwsVpclatticeResourceGateway.id,
    portRanges: ["80"],
    protocol: "TCP",
    resourceConfigurationDefinition: {
        dnsResource: {
            domainName: "example.com",
            ipAddressType: "IPV4",
        },
    },
    tags: {
        Environment: "Example",
    },
});
Copy
import pulumi
import pulumi_aws as aws

example = aws.vpclattice.ResourceConfiguration("example",
    name="Example",
    resource_gateway_identifier=example_aws_vpclattice_resource_gateway["id"],
    port_ranges=["80"],
    protocol="TCP",
    resource_configuration_definition={
        "dns_resource": {
            "domain_name": "example.com",
            "ip_address_type": "IPV4",
        },
    },
    tags={
        "Environment": "Example",
    })
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpclattice.NewResourceConfiguration(ctx, "example", &vpclattice.ResourceConfigurationArgs{
			Name:                      pulumi.String("Example"),
			ResourceGatewayIdentifier: pulumi.Any(exampleAwsVpclatticeResourceGateway.Id),
			PortRanges: pulumi.StringArray{
				pulumi.String("80"),
			},
			Protocol: pulumi.String("TCP"),
			ResourceConfigurationDefinition: &vpclattice.ResourceConfigurationResourceConfigurationDefinitionArgs{
				DnsResource: &vpclattice.ResourceConfigurationResourceConfigurationDefinitionDnsResourceArgs{
					DomainName:    pulumi.String("example.com"),
					IpAddressType: pulumi.String("IPV4"),
				},
			},
			Tags: pulumi.StringMap{
				"Environment": pulumi.String("Example"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = new Aws.VpcLattice.ResourceConfiguration("example", new()
    {
        Name = "Example",
        ResourceGatewayIdentifier = exampleAwsVpclatticeResourceGateway.Id,
        PortRanges = new[]
        {
            "80",
        },
        Protocol = "TCP",
        ResourceConfigurationDefinition = new Aws.VpcLattice.Inputs.ResourceConfigurationResourceConfigurationDefinitionArgs
        {
            DnsResource = new Aws.VpcLattice.Inputs.ResourceConfigurationResourceConfigurationDefinitionDnsResourceArgs
            {
                DomainName = "example.com",
                IpAddressType = "IPV4",
            },
        },
        Tags = 
        {
            { "Environment", "Example" },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.vpclattice.ResourceConfiguration;
import com.pulumi.aws.vpclattice.ResourceConfigurationArgs;
import com.pulumi.aws.vpclattice.inputs.ResourceConfigurationResourceConfigurationDefinitionArgs;
import com.pulumi.aws.vpclattice.inputs.ResourceConfigurationResourceConfigurationDefinitionDnsResourceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new ResourceConfiguration("example", ResourceConfigurationArgs.builder()
            .name("Example")
            .resourceGatewayIdentifier(exampleAwsVpclatticeResourceGateway.id())
            .portRanges("80")
            .protocol("TCP")
            .resourceConfigurationDefinition(ResourceConfigurationResourceConfigurationDefinitionArgs.builder()
                .dnsResource(ResourceConfigurationResourceConfigurationDefinitionDnsResourceArgs.builder()
                    .domainName("example.com")
                    .ipAddressType("IPV4")
                    .build())
                .build())
            .tags(Map.of("Environment", "Example"))
            .build());

    }
}
Copy
resources:
  example:
    type: aws:vpclattice:ResourceConfiguration
    properties:
      name: Example
      resourceGatewayIdentifier: ${exampleAwsVpclatticeResourceGateway.id}
      portRanges:
        - '80'
      protocol: TCP
      resourceConfigurationDefinition:
        dnsResource:
          domainName: example.com
          ipAddressType: IPV4
      tags:
        Environment: Example
Copy

IP Address Example

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const example = new aws.vpclattice.ResourceConfiguration("example", {
    name: "Example",
    resourceGatewayIdentifier: exampleAwsVpclatticeResourceGateway.id,
    portRanges: ["80"],
    protocol: "TCP",
    resourceConfigurationDefinition: {
        ipResource: {
            ipAddress: "10.0.0.1",
        },
    },
    tags: {
        Environment: "Example",
    },
});
Copy
import pulumi
import pulumi_aws as aws

example = aws.vpclattice.ResourceConfiguration("example",
    name="Example",
    resource_gateway_identifier=example_aws_vpclattice_resource_gateway["id"],
    port_ranges=["80"],
    protocol="TCP",
    resource_configuration_definition={
        "ip_resource": {
            "ip_address": "10.0.0.1",
        },
    },
    tags={
        "Environment": "Example",
    })
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpclattice.NewResourceConfiguration(ctx, "example", &vpclattice.ResourceConfigurationArgs{
			Name:                      pulumi.String("Example"),
			ResourceGatewayIdentifier: pulumi.Any(exampleAwsVpclatticeResourceGateway.Id),
			PortRanges: pulumi.StringArray{
				pulumi.String("80"),
			},
			Protocol: pulumi.String("TCP"),
			ResourceConfigurationDefinition: &vpclattice.ResourceConfigurationResourceConfigurationDefinitionArgs{
				IpResource: &vpclattice.ResourceConfigurationResourceConfigurationDefinitionIpResourceArgs{
					IpAddress: pulumi.String("10.0.0.1"),
				},
			},
			Tags: pulumi.StringMap{
				"Environment": pulumi.String("Example"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var example = new Aws.VpcLattice.ResourceConfiguration("example", new()
    {
        Name = "Example",
        ResourceGatewayIdentifier = exampleAwsVpclatticeResourceGateway.Id,
        PortRanges = new[]
        {
            "80",
        },
        Protocol = "TCP",
        ResourceConfigurationDefinition = new Aws.VpcLattice.Inputs.ResourceConfigurationResourceConfigurationDefinitionArgs
        {
            IpResource = new Aws.VpcLattice.Inputs.ResourceConfigurationResourceConfigurationDefinitionIpResourceArgs
            {
                IpAddress = "10.0.0.1",
            },
        },
        Tags = 
        {
            { "Environment", "Example" },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.vpclattice.ResourceConfiguration;
import com.pulumi.aws.vpclattice.ResourceConfigurationArgs;
import com.pulumi.aws.vpclattice.inputs.ResourceConfigurationResourceConfigurationDefinitionArgs;
import com.pulumi.aws.vpclattice.inputs.ResourceConfigurationResourceConfigurationDefinitionIpResourceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var example = new ResourceConfiguration("example", ResourceConfigurationArgs.builder()
            .name("Example")
            .resourceGatewayIdentifier(exampleAwsVpclatticeResourceGateway.id())
            .portRanges("80")
            .protocol("TCP")
            .resourceConfigurationDefinition(ResourceConfigurationResourceConfigurationDefinitionArgs.builder()
                .ipResource(ResourceConfigurationResourceConfigurationDefinitionIpResourceArgs.builder()
                    .ipAddress("10.0.0.1")
                    .build())
                .build())
            .tags(Map.of("Environment", "Example"))
            .build());

    }
}
Copy
resources:
  example:
    type: aws:vpclattice:ResourceConfiguration
    properties:
      name: Example
      resourceGatewayIdentifier: ${exampleAwsVpclatticeResourceGateway.id}
      portRanges:
        - '80'
      protocol: TCP
      resourceConfigurationDefinition:
        ipResource:
          ipAddress: 10.0.0.1
      tags:
        Environment: Example
Copy

ARN Example

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const test = new aws.vpclattice.ResourceConfiguration("test", {
    name: "Example",
    resourceGatewayIdentifier: testAwsVpclatticeResourceGateway.id,
    type: "ARN",
    resourceConfigurationDefinition: {
        arnResource: {
            arn: example.arn,
        },
    },
});
Copy
import pulumi
import pulumi_aws as aws

test = aws.vpclattice.ResourceConfiguration("test",
    name="Example",
    resource_gateway_identifier=test_aws_vpclattice_resource_gateway["id"],
    type="ARN",
    resource_configuration_definition={
        "arn_resource": {
            "arn": example["arn"],
        },
    })
Copy
package main

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

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := vpclattice.NewResourceConfiguration(ctx, "test", &vpclattice.ResourceConfigurationArgs{
			Name:                      pulumi.String("Example"),
			ResourceGatewayIdentifier: pulumi.Any(testAwsVpclatticeResourceGateway.Id),
			Type:                      pulumi.String("ARN"),
			ResourceConfigurationDefinition: &vpclattice.ResourceConfigurationResourceConfigurationDefinitionArgs{
				ArnResource: &vpclattice.ResourceConfigurationResourceConfigurationDefinitionArnResourceArgs{
					Arn: pulumi.Any(example.Arn),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var test = new Aws.VpcLattice.ResourceConfiguration("test", new()
    {
        Name = "Example",
        ResourceGatewayIdentifier = testAwsVpclatticeResourceGateway.Id,
        Type = "ARN",
        ResourceConfigurationDefinition = new Aws.VpcLattice.Inputs.ResourceConfigurationResourceConfigurationDefinitionArgs
        {
            ArnResource = new Aws.VpcLattice.Inputs.ResourceConfigurationResourceConfigurationDefinitionArnResourceArgs
            {
                Arn = example.Arn,
            },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.vpclattice.ResourceConfiguration;
import com.pulumi.aws.vpclattice.ResourceConfigurationArgs;
import com.pulumi.aws.vpclattice.inputs.ResourceConfigurationResourceConfigurationDefinitionArgs;
import com.pulumi.aws.vpclattice.inputs.ResourceConfigurationResourceConfigurationDefinitionArnResourceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var test = new ResourceConfiguration("test", ResourceConfigurationArgs.builder()
            .name("Example")
            .resourceGatewayIdentifier(testAwsVpclatticeResourceGateway.id())
            .type("ARN")
            .resourceConfigurationDefinition(ResourceConfigurationResourceConfigurationDefinitionArgs.builder()
                .arnResource(ResourceConfigurationResourceConfigurationDefinitionArnResourceArgs.builder()
                    .arn(example.arn())
                    .build())
                .build())
            .build());

    }
}
Copy
resources:
  test:
    type: aws:vpclattice:ResourceConfiguration
    properties:
      name: Example
      resourceGatewayIdentifier: ${testAwsVpclatticeResourceGateway.id}
      type: ARN
      resourceConfigurationDefinition:
        arnResource:
          arn: ${example.arn}
Copy

Create ResourceConfiguration Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ResourceConfiguration(name: string, args?: ResourceConfigurationArgs, opts?: CustomResourceOptions);
@overload
def ResourceConfiguration(resource_name: str,
                          args: Optional[ResourceConfigurationArgs] = None,
                          opts: Optional[ResourceOptions] = None)

@overload
def ResourceConfiguration(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          allow_association_to_shareable_service_network: Optional[bool] = None,
                          name: Optional[str] = None,
                          port_ranges: Optional[Sequence[str]] = None,
                          protocol: Optional[str] = None,
                          resource_configuration_definition: Optional[ResourceConfigurationResourceConfigurationDefinitionArgs] = None,
                          resource_configuration_group_id: Optional[str] = None,
                          resource_gateway_identifier: Optional[str] = None,
                          tags: Optional[Mapping[str, str]] = None,
                          timeouts: Optional[ResourceConfigurationTimeoutsArgs] = None,
                          type: Optional[str] = None)
func NewResourceConfiguration(ctx *Context, name string, args *ResourceConfigurationArgs, opts ...ResourceOption) (*ResourceConfiguration, error)
public ResourceConfiguration(string name, ResourceConfigurationArgs? args = null, CustomResourceOptions? opts = null)
public ResourceConfiguration(String name, ResourceConfigurationArgs args)
public ResourceConfiguration(String name, ResourceConfigurationArgs args, CustomResourceOptions options)
type: aws:vpclattice:ResourceConfiguration
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args ResourceConfigurationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args ResourceConfigurationArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args ResourceConfigurationArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args ResourceConfigurationArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ResourceConfigurationArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var resourceConfigurationResource = new Aws.VpcLattice.ResourceConfiguration("resourceConfigurationResource", new()
{
    AllowAssociationToShareableServiceNetwork = false,
    Name = "string",
    PortRanges = new[]
    {
        "string",
    },
    Protocol = "string",
    ResourceConfigurationDefinition = new Aws.VpcLattice.Inputs.ResourceConfigurationResourceConfigurationDefinitionArgs
    {
        ArnResource = new Aws.VpcLattice.Inputs.ResourceConfigurationResourceConfigurationDefinitionArnResourceArgs
        {
            Arn = "string",
        },
        DnsResource = new Aws.VpcLattice.Inputs.ResourceConfigurationResourceConfigurationDefinitionDnsResourceArgs
        {
            DomainName = "string",
            IpAddressType = "string",
        },
        IpResource = new Aws.VpcLattice.Inputs.ResourceConfigurationResourceConfigurationDefinitionIpResourceArgs
        {
            IpAddress = "string",
        },
    },
    ResourceConfigurationGroupId = "string",
    ResourceGatewayIdentifier = "string",
    Tags = 
    {
        { "string", "string" },
    },
    Timeouts = new Aws.VpcLattice.Inputs.ResourceConfigurationTimeoutsArgs
    {
        Create = "string",
        Delete = "string",
        Update = "string",
    },
    Type = "string",
});
Copy
example, err := vpclattice.NewResourceConfiguration(ctx, "resourceConfigurationResource", &vpclattice.ResourceConfigurationArgs{
	AllowAssociationToShareableServiceNetwork: pulumi.Bool(false),
	Name: pulumi.String("string"),
	PortRanges: pulumi.StringArray{
		pulumi.String("string"),
	},
	Protocol: pulumi.String("string"),
	ResourceConfigurationDefinition: &vpclattice.ResourceConfigurationResourceConfigurationDefinitionArgs{
		ArnResource: &vpclattice.ResourceConfigurationResourceConfigurationDefinitionArnResourceArgs{
			Arn: pulumi.String("string"),
		},
		DnsResource: &vpclattice.ResourceConfigurationResourceConfigurationDefinitionDnsResourceArgs{
			DomainName:    pulumi.String("string"),
			IpAddressType: pulumi.String("string"),
		},
		IpResource: &vpclattice.ResourceConfigurationResourceConfigurationDefinitionIpResourceArgs{
			IpAddress: pulumi.String("string"),
		},
	},
	ResourceConfigurationGroupId: pulumi.String("string"),
	ResourceGatewayIdentifier:    pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Timeouts: &vpclattice.ResourceConfigurationTimeoutsArgs{
		Create: pulumi.String("string"),
		Delete: pulumi.String("string"),
		Update: pulumi.String("string"),
	},
	Type: pulumi.String("string"),
})
Copy
var resourceConfigurationResource = new ResourceConfiguration("resourceConfigurationResource", ResourceConfigurationArgs.builder()
    .allowAssociationToShareableServiceNetwork(false)
    .name("string")
    .portRanges("string")
    .protocol("string")
    .resourceConfigurationDefinition(ResourceConfigurationResourceConfigurationDefinitionArgs.builder()
        .arnResource(ResourceConfigurationResourceConfigurationDefinitionArnResourceArgs.builder()
            .arn("string")
            .build())
        .dnsResource(ResourceConfigurationResourceConfigurationDefinitionDnsResourceArgs.builder()
            .domainName("string")
            .ipAddressType("string")
            .build())
        .ipResource(ResourceConfigurationResourceConfigurationDefinitionIpResourceArgs.builder()
            .ipAddress("string")
            .build())
        .build())
    .resourceConfigurationGroupId("string")
    .resourceGatewayIdentifier("string")
    .tags(Map.of("string", "string"))
    .timeouts(ResourceConfigurationTimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .update("string")
        .build())
    .type("string")
    .build());
Copy
resource_configuration_resource = aws.vpclattice.ResourceConfiguration("resourceConfigurationResource",
    allow_association_to_shareable_service_network=False,
    name="string",
    port_ranges=["string"],
    protocol="string",
    resource_configuration_definition={
        "arn_resource": {
            "arn": "string",
        },
        "dns_resource": {
            "domain_name": "string",
            "ip_address_type": "string",
        },
        "ip_resource": {
            "ip_address": "string",
        },
    },
    resource_configuration_group_id="string",
    resource_gateway_identifier="string",
    tags={
        "string": "string",
    },
    timeouts={
        "create": "string",
        "delete": "string",
        "update": "string",
    },
    type="string")
Copy
const resourceConfigurationResource = new aws.vpclattice.ResourceConfiguration("resourceConfigurationResource", {
    allowAssociationToShareableServiceNetwork: false,
    name: "string",
    portRanges: ["string"],
    protocol: "string",
    resourceConfigurationDefinition: {
        arnResource: {
            arn: "string",
        },
        dnsResource: {
            domainName: "string",
            ipAddressType: "string",
        },
        ipResource: {
            ipAddress: "string",
        },
    },
    resourceConfigurationGroupId: "string",
    resourceGatewayIdentifier: "string",
    tags: {
        string: "string",
    },
    timeouts: {
        create: "string",
        "delete": "string",
        update: "string",
    },
    type: "string",
});
Copy
type: aws:vpclattice:ResourceConfiguration
properties:
    allowAssociationToShareableServiceNetwork: false
    name: string
    portRanges:
        - string
    protocol: string
    resourceConfigurationDefinition:
        arnResource:
            arn: string
        dnsResource:
            domainName: string
            ipAddressType: string
        ipResource:
            ipAddress: string
    resourceConfigurationGroupId: string
    resourceGatewayIdentifier: string
    tags:
        string: string
    timeouts:
        create: string
        delete: string
        update: string
    type: string
Copy

ResourceConfiguration Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ResourceConfiguration resource accepts the following input properties:

AllowAssociationToShareableServiceNetwork bool
Allow or Deny the association of this resource to a shareable service network.
Name string
Name for the Resource Configuration.
PortRanges List<string>
Port ranges to access the Resource either single port 80 or range 80-81 range.
Protocol string
Protocol for the Resource TCP is currently the only supported value. MUST be specified if resource_configuration_group_id is not.
ResourceConfigurationDefinition ResourceConfigurationResourceConfigurationDefinition

Details of the Resource Configuration. See resource_configuration_definition Block for details.

The following arguments are optional:

ResourceConfigurationGroupId string
ID of Resource Configuration where type is CHILD.
ResourceGatewayIdentifier string
ID of the Resource Gateway used to access the resource. MUST be specified if resource_configuration_group_id is not.
Tags Dictionary<string, string>
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Timeouts ResourceConfigurationTimeouts
Type string
Type of Resource Configuration. Must be one of GROUP, CHILD, SINGLE, ARN.
AllowAssociationToShareableServiceNetwork bool
Allow or Deny the association of this resource to a shareable service network.
Name string
Name for the Resource Configuration.
PortRanges []string
Port ranges to access the Resource either single port 80 or range 80-81 range.
Protocol string
Protocol for the Resource TCP is currently the only supported value. MUST be specified if resource_configuration_group_id is not.
ResourceConfigurationDefinition ResourceConfigurationResourceConfigurationDefinitionArgs

Details of the Resource Configuration. See resource_configuration_definition Block for details.

The following arguments are optional:

ResourceConfigurationGroupId string
ID of Resource Configuration where type is CHILD.
ResourceGatewayIdentifier string
ID of the Resource Gateway used to access the resource. MUST be specified if resource_configuration_group_id is not.
Tags map[string]string
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Timeouts ResourceConfigurationTimeoutsArgs
Type string
Type of Resource Configuration. Must be one of GROUP, CHILD, SINGLE, ARN.
allowAssociationToShareableServiceNetwork Boolean
Allow or Deny the association of this resource to a shareable service network.
name String
Name for the Resource Configuration.
portRanges List<String>
Port ranges to access the Resource either single port 80 or range 80-81 range.
protocol String
Protocol for the Resource TCP is currently the only supported value. MUST be specified if resource_configuration_group_id is not.
resourceConfigurationDefinition ResourceConfigurationResourceConfigurationDefinition

Details of the Resource Configuration. See resource_configuration_definition Block for details.

The following arguments are optional:

resourceConfigurationGroupId String
ID of Resource Configuration where type is CHILD.
resourceGatewayIdentifier String
ID of the Resource Gateway used to access the resource. MUST be specified if resource_configuration_group_id is not.
tags Map<String,String>
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
timeouts ResourceConfigurationTimeouts
type String
Type of Resource Configuration. Must be one of GROUP, CHILD, SINGLE, ARN.
allowAssociationToShareableServiceNetwork boolean
Allow or Deny the association of this resource to a shareable service network.
name string
Name for the Resource Configuration.
portRanges string[]
Port ranges to access the Resource either single port 80 or range 80-81 range.
protocol string
Protocol for the Resource TCP is currently the only supported value. MUST be specified if resource_configuration_group_id is not.
resourceConfigurationDefinition ResourceConfigurationResourceConfigurationDefinition

Details of the Resource Configuration. See resource_configuration_definition Block for details.

The following arguments are optional:

resourceConfigurationGroupId string
ID of Resource Configuration where type is CHILD.
resourceGatewayIdentifier string
ID of the Resource Gateway used to access the resource. MUST be specified if resource_configuration_group_id is not.
tags {[key: string]: string}
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
timeouts ResourceConfigurationTimeouts
type string
Type of Resource Configuration. Must be one of GROUP, CHILD, SINGLE, ARN.
allow_association_to_shareable_service_network bool
Allow or Deny the association of this resource to a shareable service network.
name str
Name for the Resource Configuration.
port_ranges Sequence[str]
Port ranges to access the Resource either single port 80 or range 80-81 range.
protocol str
Protocol for the Resource TCP is currently the only supported value. MUST be specified if resource_configuration_group_id is not.
resource_configuration_definition ResourceConfigurationResourceConfigurationDefinitionArgs

Details of the Resource Configuration. See resource_configuration_definition Block for details.

The following arguments are optional:

resource_configuration_group_id str
ID of Resource Configuration where type is CHILD.
resource_gateway_identifier str
ID of the Resource Gateway used to access the resource. MUST be specified if resource_configuration_group_id is not.
tags Mapping[str, str]
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
timeouts ResourceConfigurationTimeoutsArgs
type str
Type of Resource Configuration. Must be one of GROUP, CHILD, SINGLE, ARN.
allowAssociationToShareableServiceNetwork Boolean
Allow or Deny the association of this resource to a shareable service network.
name String
Name for the Resource Configuration.
portRanges List<String>
Port ranges to access the Resource either single port 80 or range 80-81 range.
protocol String
Protocol for the Resource TCP is currently the only supported value. MUST be specified if resource_configuration_group_id is not.
resourceConfigurationDefinition Property Map

Details of the Resource Configuration. See resource_configuration_definition Block for details.

The following arguments are optional:

resourceConfigurationGroupId String
ID of Resource Configuration where type is CHILD.
resourceGatewayIdentifier String
ID of the Resource Gateway used to access the resource. MUST be specified if resource_configuration_group_id is not.
tags Map<String>
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
timeouts Property Map
type String
Type of Resource Configuration. Must be one of GROUP, CHILD, SINGLE, ARN.

Outputs

All input properties are implicitly available as output properties. Additionally, the ResourceConfiguration resource produces the following output properties:

Arn string
ARN of the resource gateway.
Id string
The provider-assigned unique ID for this managed resource.
TagsAll Dictionary<string, string>
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

Arn string
ARN of the resource gateway.
Id string
The provider-assigned unique ID for this managed resource.
TagsAll map[string]string
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn String
ARN of the resource gateway.
id String
The provider-assigned unique ID for this managed resource.
tagsAll Map<String,String>
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn string
ARN of the resource gateway.
id string
The provider-assigned unique ID for this managed resource.
tagsAll {[key: string]: string}
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn str
ARN of the resource gateway.
id str
The provider-assigned unique ID for this managed resource.
tags_all Mapping[str, str]
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

arn String
ARN of the resource gateway.
id String
The provider-assigned unique ID for this managed resource.
tagsAll Map<String>
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

Look up Existing ResourceConfiguration Resource

Get an existing ResourceConfiguration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ResourceConfigurationState, opts?: CustomResourceOptions): ResourceConfiguration
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        allow_association_to_shareable_service_network: Optional[bool] = None,
        arn: Optional[str] = None,
        name: Optional[str] = None,
        port_ranges: Optional[Sequence[str]] = None,
        protocol: Optional[str] = None,
        resource_configuration_definition: Optional[ResourceConfigurationResourceConfigurationDefinitionArgs] = None,
        resource_configuration_group_id: Optional[str] = None,
        resource_gateway_identifier: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None,
        timeouts: Optional[ResourceConfigurationTimeoutsArgs] = None,
        type: Optional[str] = None) -> ResourceConfiguration
func GetResourceConfiguration(ctx *Context, name string, id IDInput, state *ResourceConfigurationState, opts ...ResourceOption) (*ResourceConfiguration, error)
public static ResourceConfiguration Get(string name, Input<string> id, ResourceConfigurationState? state, CustomResourceOptions? opts = null)
public static ResourceConfiguration get(String name, Output<String> id, ResourceConfigurationState state, CustomResourceOptions options)
resources:  _:    type: aws:vpclattice:ResourceConfiguration    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AllowAssociationToShareableServiceNetwork bool
Allow or Deny the association of this resource to a shareable service network.
Arn string
ARN of the resource gateway.
Name string
Name for the Resource Configuration.
PortRanges List<string>
Port ranges to access the Resource either single port 80 or range 80-81 range.
Protocol string
Protocol for the Resource TCP is currently the only supported value. MUST be specified if resource_configuration_group_id is not.
ResourceConfigurationDefinition ResourceConfigurationResourceConfigurationDefinition

Details of the Resource Configuration. See resource_configuration_definition Block for details.

The following arguments are optional:

ResourceConfigurationGroupId string
ID of Resource Configuration where type is CHILD.
ResourceGatewayIdentifier string
ID of the Resource Gateway used to access the resource. MUST be specified if resource_configuration_group_id is not.
Tags Dictionary<string, string>
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
TagsAll Dictionary<string, string>
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

Timeouts ResourceConfigurationTimeouts
Type string
Type of Resource Configuration. Must be one of GROUP, CHILD, SINGLE, ARN.
AllowAssociationToShareableServiceNetwork bool
Allow or Deny the association of this resource to a shareable service network.
Arn string
ARN of the resource gateway.
Name string
Name for the Resource Configuration.
PortRanges []string
Port ranges to access the Resource either single port 80 or range 80-81 range.
Protocol string
Protocol for the Resource TCP is currently the only supported value. MUST be specified if resource_configuration_group_id is not.
ResourceConfigurationDefinition ResourceConfigurationResourceConfigurationDefinitionArgs

Details of the Resource Configuration. See resource_configuration_definition Block for details.

The following arguments are optional:

ResourceConfigurationGroupId string
ID of Resource Configuration where type is CHILD.
ResourceGatewayIdentifier string
ID of the Resource Gateway used to access the resource. MUST be specified if resource_configuration_group_id is not.
Tags map[string]string
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
TagsAll map[string]string
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

Timeouts ResourceConfigurationTimeoutsArgs
Type string
Type of Resource Configuration. Must be one of GROUP, CHILD, SINGLE, ARN.
allowAssociationToShareableServiceNetwork Boolean
Allow or Deny the association of this resource to a shareable service network.
arn String
ARN of the resource gateway.
name String
Name for the Resource Configuration.
portRanges List<String>
Port ranges to access the Resource either single port 80 or range 80-81 range.
protocol String
Protocol for the Resource TCP is currently the only supported value. MUST be specified if resource_configuration_group_id is not.
resourceConfigurationDefinition ResourceConfigurationResourceConfigurationDefinition

Details of the Resource Configuration. See resource_configuration_definition Block for details.

The following arguments are optional:

resourceConfigurationGroupId String
ID of Resource Configuration where type is CHILD.
resourceGatewayIdentifier String
ID of the Resource Gateway used to access the resource. MUST be specified if resource_configuration_group_id is not.
tags Map<String,String>
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll Map<String,String>
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

timeouts ResourceConfigurationTimeouts
type String
Type of Resource Configuration. Must be one of GROUP, CHILD, SINGLE, ARN.
allowAssociationToShareableServiceNetwork boolean
Allow or Deny the association of this resource to a shareable service network.
arn string
ARN of the resource gateway.
name string
Name for the Resource Configuration.
portRanges string[]
Port ranges to access the Resource either single port 80 or range 80-81 range.
protocol string
Protocol for the Resource TCP is currently the only supported value. MUST be specified if resource_configuration_group_id is not.
resourceConfigurationDefinition ResourceConfigurationResourceConfigurationDefinition

Details of the Resource Configuration. See resource_configuration_definition Block for details.

The following arguments are optional:

resourceConfigurationGroupId string
ID of Resource Configuration where type is CHILD.
resourceGatewayIdentifier string
ID of the Resource Gateway used to access the resource. MUST be specified if resource_configuration_group_id is not.
tags {[key: string]: string}
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll {[key: string]: string}
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

timeouts ResourceConfigurationTimeouts
type string
Type of Resource Configuration. Must be one of GROUP, CHILD, SINGLE, ARN.
allow_association_to_shareable_service_network bool
Allow or Deny the association of this resource to a shareable service network.
arn str
ARN of the resource gateway.
name str
Name for the Resource Configuration.
port_ranges Sequence[str]
Port ranges to access the Resource either single port 80 or range 80-81 range.
protocol str
Protocol for the Resource TCP is currently the only supported value. MUST be specified if resource_configuration_group_id is not.
resource_configuration_definition ResourceConfigurationResourceConfigurationDefinitionArgs

Details of the Resource Configuration. See resource_configuration_definition Block for details.

The following arguments are optional:

resource_configuration_group_id str
ID of Resource Configuration where type is CHILD.
resource_gateway_identifier str
ID of the Resource Gateway used to access the resource. MUST be specified if resource_configuration_group_id is not.
tags Mapping[str, str]
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tags_all Mapping[str, str]
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

timeouts ResourceConfigurationTimeoutsArgs
type str
Type of Resource Configuration. Must be one of GROUP, CHILD, SINGLE, ARN.
allowAssociationToShareableServiceNetwork Boolean
Allow or Deny the association of this resource to a shareable service network.
arn String
ARN of the resource gateway.
name String
Name for the Resource Configuration.
portRanges List<String>
Port ranges to access the Resource either single port 80 or range 80-81 range.
protocol String
Protocol for the Resource TCP is currently the only supported value. MUST be specified if resource_configuration_group_id is not.
resourceConfigurationDefinition Property Map

Details of the Resource Configuration. See resource_configuration_definition Block for details.

The following arguments are optional:

resourceConfigurationGroupId String
ID of Resource Configuration where type is CHILD.
resourceGatewayIdentifier String
ID of the Resource Gateway used to access the resource. MUST be specified if resource_configuration_group_id is not.
tags Map<String>
Key-value mapping of resource tags. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll Map<String>
Map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.

Deprecated: Please use tags instead.

timeouts Property Map
type String
Type of Resource Configuration. Must be one of GROUP, CHILD, SINGLE, ARN.

Supporting Types

ResourceConfigurationResourceConfigurationDefinition
, ResourceConfigurationResourceConfigurationDefinitionArgs

ArnResource ResourceConfigurationResourceConfigurationDefinitionArnResource
Resource DNS Configuration. See arn_resource Block for details.
DnsResource ResourceConfigurationResourceConfigurationDefinitionDnsResource
Resource DNS Configuration. See dns_resource Block for details.
IpResource ResourceConfigurationResourceConfigurationDefinitionIpResource
Resource DNS Configuration. See ip_resource Block for details.
ArnResource ResourceConfigurationResourceConfigurationDefinitionArnResource
Resource DNS Configuration. See arn_resource Block for details.
DnsResource ResourceConfigurationResourceConfigurationDefinitionDnsResource
Resource DNS Configuration. See dns_resource Block for details.
IpResource ResourceConfigurationResourceConfigurationDefinitionIpResource
Resource DNS Configuration. See ip_resource Block for details.
arnResource ResourceConfigurationResourceConfigurationDefinitionArnResource
Resource DNS Configuration. See arn_resource Block for details.
dnsResource ResourceConfigurationResourceConfigurationDefinitionDnsResource
Resource DNS Configuration. See dns_resource Block for details.
ipResource ResourceConfigurationResourceConfigurationDefinitionIpResource
Resource DNS Configuration. See ip_resource Block for details.
arnResource ResourceConfigurationResourceConfigurationDefinitionArnResource
Resource DNS Configuration. See arn_resource Block for details.
dnsResource ResourceConfigurationResourceConfigurationDefinitionDnsResource
Resource DNS Configuration. See dns_resource Block for details.
ipResource ResourceConfigurationResourceConfigurationDefinitionIpResource
Resource DNS Configuration. See ip_resource Block for details.
arn_resource ResourceConfigurationResourceConfigurationDefinitionArnResource
Resource DNS Configuration. See arn_resource Block for details.
dns_resource ResourceConfigurationResourceConfigurationDefinitionDnsResource
Resource DNS Configuration. See dns_resource Block for details.
ip_resource ResourceConfigurationResourceConfigurationDefinitionIpResource
Resource DNS Configuration. See ip_resource Block for details.
arnResource Property Map
Resource DNS Configuration. See arn_resource Block for details.
dnsResource Property Map
Resource DNS Configuration. See dns_resource Block for details.
ipResource Property Map
Resource DNS Configuration. See ip_resource Block for details.

ResourceConfigurationResourceConfigurationDefinitionArnResource
, ResourceConfigurationResourceConfigurationDefinitionArnResourceArgs

Arn This property is required. string
The ARN of the Resource for this configuration.
Arn This property is required. string
The ARN of the Resource for this configuration.
arn This property is required. String
The ARN of the Resource for this configuration.
arn This property is required. string
The ARN of the Resource for this configuration.
arn This property is required. str
The ARN of the Resource for this configuration.
arn This property is required. String
The ARN of the Resource for this configuration.

ResourceConfigurationResourceConfigurationDefinitionDnsResource
, ResourceConfigurationResourceConfigurationDefinitionDnsResourceArgs

DomainName This property is required. string
The hostname of the Resource for this configuration.
IpAddressType This property is required. string
The IP Address type either IPV4 or IPV6
DomainName This property is required. string
The hostname of the Resource for this configuration.
IpAddressType This property is required. string
The IP Address type either IPV4 or IPV6
domainName This property is required. String
The hostname of the Resource for this configuration.
ipAddressType This property is required. String
The IP Address type either IPV4 or IPV6
domainName This property is required. string
The hostname of the Resource for this configuration.
ipAddressType This property is required. string
The IP Address type either IPV4 or IPV6
domain_name This property is required. str
The hostname of the Resource for this configuration.
ip_address_type This property is required. str
The IP Address type either IPV4 or IPV6
domainName This property is required. String
The hostname of the Resource for this configuration.
ipAddressType This property is required. String
The IP Address type either IPV4 or IPV6

ResourceConfigurationResourceConfigurationDefinitionIpResource
, ResourceConfigurationResourceConfigurationDefinitionIpResourceArgs

IpAddress This property is required. string
The IP Address of the Resource for this configuration.
IpAddress This property is required. string
The IP Address of the Resource for this configuration.
ipAddress This property is required. String
The IP Address of the Resource for this configuration.
ipAddress This property is required. string
The IP Address of the Resource for this configuration.
ip_address This property is required. str
The IP Address of the Resource for this configuration.
ipAddress This property is required. String
The IP Address of the Resource for this configuration.

ResourceConfigurationTimeouts
, ResourceConfigurationTimeoutsArgs

Create string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Delete string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
Update string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Create string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
Delete string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
Update string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
create String
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
delete String
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
update String
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
create string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
delete string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
update string
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
create str
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
delete str
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
update str
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
create String
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
delete String
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
update String
A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

Import

Using pulumi import, import VPC Lattice Resource Configuration using the id. For example:

$ pulumi import aws:vpclattice/resourceConfiguration:ResourceConfiguration example rcfg-1234567890abcdef1
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.