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",
    },
});
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",
    })
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
	})
}
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" },
        },
    });
});
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());
    }
}
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
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",
    },
});
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",
    })
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
	})
}
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" },
        },
    });
});
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());
    }
}
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
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,
        },
    },
});
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"],
        },
    })
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
	})
}
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,
            },
        },
    });
});
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());
    }
}
resources:
  test:
    type: aws:vpclattice:ResourceConfiguration
    properties:
      name: Example
      resourceGatewayIdentifier: ${testAwsVpclatticeResourceGateway.id}
      type: ARN
      resourceConfigurationDefinition:
        arnResource:
          arn: ${example.arn}
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 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 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 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 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 String
- The unique name of the resource.
- args 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",
});
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"),
})
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());
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")
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",
});
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
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:
- 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 80or range80-81range.
- Protocol string
- Protocol for the Resource TCPis currently the only supported value. MUST be specified ifresource_configuration_group_idis not.
- ResourceConfiguration ResourceDefinition Configuration Resource Configuration Definition 
- Details of the Resource Configuration. See - resource_configuration_definitionBlock for details.- The following arguments are optional: 
- ResourceConfiguration stringGroup Id 
- ID of Resource Configuration where typeisCHILD.
- ResourceGateway stringIdentifier 
- ID of the Resource Gateway used to access the resource. MUST be specified if resource_configuration_group_idis not.
- Dictionary<string, string>
- Key-value mapping of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Timeouts
ResourceConfiguration Timeouts 
- Type string
- Type of Resource Configuration. Must be one of GROUP,CHILD,SINGLE,ARN.
- 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 80or range80-81range.
- Protocol string
- Protocol for the Resource TCPis currently the only supported value. MUST be specified ifresource_configuration_group_idis not.
- ResourceConfiguration ResourceDefinition Configuration Resource Configuration Definition Args 
- Details of the Resource Configuration. See - resource_configuration_definitionBlock for details.- The following arguments are optional: 
- ResourceConfiguration stringGroup Id 
- ID of Resource Configuration where typeisCHILD.
- ResourceGateway stringIdentifier 
- ID of the Resource Gateway used to access the resource. MUST be specified if resource_configuration_group_idis not.
- map[string]string
- Key-value mapping of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Timeouts
ResourceConfiguration Timeouts Args 
- Type string
- Type of Resource Configuration. Must be one of GROUP,CHILD,SINGLE,ARN.
- 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 80or range80-81range.
- protocol String
- Protocol for the Resource TCPis currently the only supported value. MUST be specified ifresource_configuration_group_idis not.
- resourceConfiguration ResourceDefinition Configuration Resource Configuration Definition 
- Details of the Resource Configuration. See - resource_configuration_definitionBlock for details.- The following arguments are optional: 
- resourceConfiguration StringGroup Id 
- ID of Resource Configuration where typeisCHILD.
- resourceGateway StringIdentifier 
- ID of the Resource Gateway used to access the resource. MUST be specified if resource_configuration_group_idis not.
- Map<String,String>
- Key-value mapping of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- timeouts
ResourceConfiguration Timeouts 
- type String
- Type of Resource Configuration. Must be one of GROUP,CHILD,SINGLE,ARN.
- 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 80or range80-81range.
- protocol string
- Protocol for the Resource TCPis currently the only supported value. MUST be specified ifresource_configuration_group_idis not.
- resourceConfiguration ResourceDefinition Configuration Resource Configuration Definition 
- Details of the Resource Configuration. See - resource_configuration_definitionBlock for details.- The following arguments are optional: 
- resourceConfiguration stringGroup Id 
- ID of Resource Configuration where typeisCHILD.
- resourceGateway stringIdentifier 
- ID of the Resource Gateway used to access the resource. MUST be specified if resource_configuration_group_idis not.
- {[key: string]: string}
- Key-value mapping of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- timeouts
ResourceConfiguration Timeouts 
- type string
- Type of Resource Configuration. Must be one of GROUP,CHILD,SINGLE,ARN.
- 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 80or range80-81range.
- protocol str
- Protocol for the Resource TCPis currently the only supported value. MUST be specified ifresource_configuration_group_idis not.
- resource_configuration_ Resourcedefinition Configuration Resource Configuration Definition Args 
- Details of the Resource Configuration. See - resource_configuration_definitionBlock for details.- The following arguments are optional: 
- resource_configuration_ strgroup_ id 
- ID of Resource Configuration where typeisCHILD.
- resource_gateway_ stridentifier 
- ID of the Resource Gateway used to access the resource. MUST be specified if resource_configuration_group_idis not.
- Mapping[str, str]
- Key-value mapping of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- timeouts
ResourceConfiguration Timeouts Args 
- type str
- Type of Resource Configuration. Must be one of GROUP,CHILD,SINGLE,ARN.
- 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 80or range80-81range.
- protocol String
- Protocol for the Resource TCPis currently the only supported value. MUST be specified ifresource_configuration_group_idis not.
- resourceConfiguration Property MapDefinition 
- Details of the Resource Configuration. See - resource_configuration_definitionBlock for details.- The following arguments are optional: 
- resourceConfiguration StringGroup Id 
- ID of Resource Configuration where typeisCHILD.
- resourceGateway StringIdentifier 
- ID of the Resource Gateway used to access the resource. MUST be specified if resource_configuration_group_idis not.
- Map<String>
- Key-value mapping of resource tags. If configured with a provider default_tagsconfiguration 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:
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) -> ResourceConfigurationfunc 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- 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 80or range80-81range.
- Protocol string
- Protocol for the Resource TCPis currently the only supported value. MUST be specified ifresource_configuration_group_idis not.
- ResourceConfiguration ResourceDefinition Configuration Resource Configuration Definition 
- Details of the Resource Configuration. See - resource_configuration_definitionBlock for details.- The following arguments are optional: 
- ResourceConfiguration stringGroup Id 
- ID of Resource Configuration where typeisCHILD.
- ResourceGateway stringIdentifier 
- ID of the Resource Gateway used to access the resource. MUST be specified if resource_configuration_group_idis not.
- Dictionary<string, string>
- Key-value mapping of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- Timeouts
ResourceConfiguration Timeouts 
- Type string
- Type of Resource Configuration. Must be one of GROUP,CHILD,SINGLE,ARN.
- 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 80or range80-81range.
- Protocol string
- Protocol for the Resource TCPis currently the only supported value. MUST be specified ifresource_configuration_group_idis not.
- ResourceConfiguration ResourceDefinition Configuration Resource Configuration Definition Args 
- Details of the Resource Configuration. See - resource_configuration_definitionBlock for details.- The following arguments are optional: 
- ResourceConfiguration stringGroup Id 
- ID of Resource Configuration where typeisCHILD.
- ResourceGateway stringIdentifier 
- ID of the Resource Gateway used to access the resource. MUST be specified if resource_configuration_group_idis not.
- map[string]string
- Key-value mapping of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- map[string]string
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- Timeouts
ResourceConfiguration Timeouts Args 
- Type string
- Type of Resource Configuration. Must be one of GROUP,CHILD,SINGLE,ARN.
- 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 80or range80-81range.
- protocol String
- Protocol for the Resource TCPis currently the only supported value. MUST be specified ifresource_configuration_group_idis not.
- resourceConfiguration ResourceDefinition Configuration Resource Configuration Definition 
- Details of the Resource Configuration. See - resource_configuration_definitionBlock for details.- The following arguments are optional: 
- resourceConfiguration StringGroup Id 
- ID of Resource Configuration where typeisCHILD.
- resourceGateway StringIdentifier 
- ID of the Resource Gateway used to access the resource. MUST be specified if resource_configuration_group_idis not.
- Map<String,String>
- Key-value mapping of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- timeouts
ResourceConfiguration Timeouts 
- type String
- Type of Resource Configuration. Must be one of GROUP,CHILD,SINGLE,ARN.
- 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 80or range80-81range.
- protocol string
- Protocol for the Resource TCPis currently the only supported value. MUST be specified ifresource_configuration_group_idis not.
- resourceConfiguration ResourceDefinition Configuration Resource Configuration Definition 
- Details of the Resource Configuration. See - resource_configuration_definitionBlock for details.- The following arguments are optional: 
- resourceConfiguration stringGroup Id 
- ID of Resource Configuration where typeisCHILD.
- resourceGateway stringIdentifier 
- ID of the Resource Gateway used to access the resource. MUST be specified if resource_configuration_group_idis not.
- {[key: string]: string}
- Key-value mapping of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- timeouts
ResourceConfiguration Timeouts 
- type string
- Type of Resource Configuration. Must be one of GROUP,CHILD,SINGLE,ARN.
- 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 80or range80-81range.
- protocol str
- Protocol for the Resource TCPis currently the only supported value. MUST be specified ifresource_configuration_group_idis not.
- resource_configuration_ Resourcedefinition Configuration Resource Configuration Definition Args 
- Details of the Resource Configuration. See - resource_configuration_definitionBlock for details.- The following arguments are optional: 
- resource_configuration_ strgroup_ id 
- ID of Resource Configuration where typeisCHILD.
- resource_gateway_ stridentifier 
- ID of the Resource Gateway used to access the resource. MUST be specified if resource_configuration_group_idis not.
- Mapping[str, str]
- Key-value mapping of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- timeouts
ResourceConfiguration Timeouts Args 
- type str
- Type of Resource Configuration. Must be one of GROUP,CHILD,SINGLE,ARN.
- 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 80or range80-81range.
- protocol String
- Protocol for the Resource TCPis currently the only supported value. MUST be specified ifresource_configuration_group_idis not.
- resourceConfiguration Property MapDefinition 
- Details of the Resource Configuration. See - resource_configuration_definitionBlock for details.- The following arguments are optional: 
- resourceConfiguration StringGroup Id 
- ID of Resource Configuration where typeisCHILD.
- resourceGateway StringIdentifier 
- ID of the Resource Gateway used to access the resource. MUST be specified if resource_configuration_group_idis not.
- Map<String>
- Key-value mapping of resource tags. If configured with a provider default_tagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.
- Map<String>
- Map of tags assigned to the resource, including those inherited from the provider default_tagsconfiguration block.
- timeouts Property Map
- type String
- Type of Resource Configuration. Must be one of GROUP,CHILD,SINGLE,ARN.
Supporting Types
ResourceConfigurationResourceConfigurationDefinition, ResourceConfigurationResourceConfigurationDefinitionArgs          
- ArnResource ResourceConfiguration Resource Configuration Definition Arn Resource 
- Resource DNS Configuration. See arn_resourceBlock for details.
- DnsResource ResourceConfiguration Resource Configuration Definition Dns Resource 
- Resource DNS Configuration. See dns_resourceBlock for details.
- IpResource ResourceConfiguration Resource Configuration Definition Ip Resource 
- Resource DNS Configuration. See ip_resourceBlock for details.
- ArnResource ResourceConfiguration Resource Configuration Definition Arn Resource 
- Resource DNS Configuration. See arn_resourceBlock for details.
- DnsResource ResourceConfiguration Resource Configuration Definition Dns Resource 
- Resource DNS Configuration. See dns_resourceBlock for details.
- IpResource ResourceConfiguration Resource Configuration Definition Ip Resource 
- Resource DNS Configuration. See ip_resourceBlock for details.
- arnResource ResourceConfiguration Resource Configuration Definition Arn Resource 
- Resource DNS Configuration. See arn_resourceBlock for details.
- dnsResource ResourceConfiguration Resource Configuration Definition Dns Resource 
- Resource DNS Configuration. See dns_resourceBlock for details.
- ipResource ResourceConfiguration Resource Configuration Definition Ip Resource 
- Resource DNS Configuration. See ip_resourceBlock for details.
- arnResource ResourceConfiguration Resource Configuration Definition Arn Resource 
- Resource DNS Configuration. See arn_resourceBlock for details.
- dnsResource ResourceConfiguration Resource Configuration Definition Dns Resource 
- Resource DNS Configuration. See dns_resourceBlock for details.
- ipResource ResourceConfiguration Resource Configuration Definition Ip Resource 
- Resource DNS Configuration. See ip_resourceBlock for details.
- arn_resource ResourceConfiguration Resource Configuration Definition Arn Resource 
- Resource DNS Configuration. See arn_resourceBlock for details.
- dns_resource ResourceConfiguration Resource Configuration Definition Dns Resource 
- Resource DNS Configuration. See dns_resourceBlock for details.
- ip_resource ResourceConfiguration Resource Configuration Definition Ip Resource 
- Resource DNS Configuration. See ip_resourceBlock for details.
- arnResource Property Map
- Resource DNS Configuration. See arn_resourceBlock for details.
- dnsResource Property Map
- Resource DNS Configuration. See dns_resourceBlock for details.
- ipResource Property Map
- Resource DNS Configuration. See ip_resourceBlock for details.
ResourceConfigurationResourceConfigurationDefinitionArnResource, ResourceConfigurationResourceConfigurationDefinitionArnResourceArgs              
- Arn string
- The ARN of the Resource for this configuration.
- Arn string
- The ARN of the Resource for this configuration.
- arn String
- The ARN of the Resource for this configuration.
- arn string
- The ARN of the Resource for this configuration.
- arn str
- The ARN of the Resource for this configuration.
- arn String
- The ARN of the Resource for this configuration.
ResourceConfigurationResourceConfigurationDefinitionDnsResource, ResourceConfigurationResourceConfigurationDefinitionDnsResourceArgs              
- DomainName string
- The hostname of the Resource for this configuration.
- IpAddress stringType 
- The IP Address type either IPV4orIPV6
- DomainName string
- The hostname of the Resource for this configuration.
- IpAddress stringType 
- The IP Address type either IPV4orIPV6
- domainName String
- The hostname of the Resource for this configuration.
- ipAddress StringType 
- The IP Address type either IPV4orIPV6
- domainName string
- The hostname of the Resource for this configuration.
- ipAddress stringType 
- The IP Address type either IPV4orIPV6
- domain_name str
- The hostname of the Resource for this configuration.
- ip_address_ strtype 
- The IP Address type either IPV4orIPV6
- domainName String
- The hostname of the Resource for this configuration.
- ipAddress StringType 
- The IP Address type either IPV4orIPV6
ResourceConfigurationResourceConfigurationDefinitionIpResource, ResourceConfigurationResourceConfigurationDefinitionIpResourceArgs              
- IpAddress string
- The IP Address of the Resource for this configuration.
- IpAddress string
- The IP Address of the Resource for this configuration.
- ipAddress String
- The IP Address of the Resource for this configuration.
- ipAddress string
- The IP Address of the Resource for this configuration.
- ip_address str
- The IP Address of the Resource for this configuration.
- ipAddress 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
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 awsTerraform Provider.