1. Packages
  2. AWS
  3. API Docs
  4. route53
  5. ProfilesAssociation
AWS v6.77.0 published on Wednesday, Apr 9, 2025 by Pulumi

aws.route53.ProfilesAssociation

Explore with Pulumi AI

Resource for managing an AWS Route 53 Profiles Association.

Example Usage

Basic Usage

Coming soon!
Coming soon!
Coming soon!
Coming soon!
Coming soon!
resources:
  example:
    type: aws:route53:ProfilesProfile
    properties:
      name: example
  exampleVpc:
    type: aws:ec2:Vpc
    name: example
    properties:
      cidr: 10.0.0.0/16
  exampleProfilesAssociation:
    type: aws:route53:ProfilesAssociation
    name: example
    properties:
      name: example
      profileId: ${example.id}
      resourceId: ${exampleVpc.id}
      tags:
        Environment: dev
Copy

Create ProfilesAssociation Resource

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

Constructor syntax

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

@overload
def ProfilesAssociation(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        profile_id: Optional[str] = None,
                        resource_id: Optional[str] = None,
                        name: Optional[str] = None,
                        tags: Optional[Mapping[str, str]] = None,
                        timeouts: Optional[ProfilesAssociationTimeoutsArgs] = None)
func NewProfilesAssociation(ctx *Context, name string, args ProfilesAssociationArgs, opts ...ResourceOption) (*ProfilesAssociation, error)
public ProfilesAssociation(string name, ProfilesAssociationArgs args, CustomResourceOptions? opts = null)
public ProfilesAssociation(String name, ProfilesAssociationArgs args)
public ProfilesAssociation(String name, ProfilesAssociationArgs args, CustomResourceOptions options)
type: aws:route53:ProfilesAssociation
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 This property is required. ProfilesAssociationArgs
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 This property is required. ProfilesAssociationArgs
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 This property is required. ProfilesAssociationArgs
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 This property is required. ProfilesAssociationArgs
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. ProfilesAssociationArgs
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 profilesAssociationResource = new Aws.Route53.ProfilesAssociation("profilesAssociationResource", new()
{
    ProfileId = "string",
    ResourceId = "string",
    Name = "string",
    Tags = 
    {
        { "string", "string" },
    },
    Timeouts = new Aws.Route53.Inputs.ProfilesAssociationTimeoutsArgs
    {
        Create = "string",
        Delete = "string",
        Update = "string",
    },
});
Copy
example, err := route53.NewProfilesAssociation(ctx, "profilesAssociationResource", &route53.ProfilesAssociationArgs{
	ProfileId:  pulumi.String("string"),
	ResourceId: pulumi.String("string"),
	Name:       pulumi.String("string"),
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	Timeouts: &route53.ProfilesAssociationTimeoutsArgs{
		Create: pulumi.String("string"),
		Delete: pulumi.String("string"),
		Update: pulumi.String("string"),
	},
})
Copy
var profilesAssociationResource = new ProfilesAssociation("profilesAssociationResource", ProfilesAssociationArgs.builder()
    .profileId("string")
    .resourceId("string")
    .name("string")
    .tags(Map.of("string", "string"))
    .timeouts(ProfilesAssociationTimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .update("string")
        .build())
    .build());
Copy
profiles_association_resource = aws.route53.ProfilesAssociation("profilesAssociationResource",
    profile_id="string",
    resource_id="string",
    name="string",
    tags={
        "string": "string",
    },
    timeouts={
        "create": "string",
        "delete": "string",
        "update": "string",
    })
Copy
const profilesAssociationResource = new aws.route53.ProfilesAssociation("profilesAssociationResource", {
    profileId: "string",
    resourceId: "string",
    name: "string",
    tags: {
        string: "string",
    },
    timeouts: {
        create: "string",
        "delete": "string",
        update: "string",
    },
});
Copy
type: aws:route53:ProfilesAssociation
properties:
    name: string
    profileId: string
    resourceId: string
    tags:
        string: string
    timeouts:
        create: string
        delete: string
        update: string
Copy

ProfilesAssociation 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 ProfilesAssociation resource accepts the following input properties:

ProfileId This property is required. string
ID of the profile associated with the VPC.
ResourceId This property is required. string
Resource ID of the VPC the profile to be associated with.
Name string
Name of the Profile Association. Must match a regex of (?!^[0-9]+$)([a-zA-Z0-9\\-_' ']+).
Tags Dictionary<string, string>
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Timeouts ProfilesAssociationTimeouts
ProfileId This property is required. string
ID of the profile associated with the VPC.
ResourceId This property is required. string
Resource ID of the VPC the profile to be associated with.
Name string
Name of the Profile Association. Must match a regex of (?!^[0-9]+$)([a-zA-Z0-9\\-_' ']+).
Tags map[string]string
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
Timeouts ProfilesAssociationTimeoutsArgs
profileId This property is required. String
ID of the profile associated with the VPC.
resourceId This property is required. String
Resource ID of the VPC the profile to be associated with.
name String
Name of the Profile Association. Must match a regex of (?!^[0-9]+$)([a-zA-Z0-9\\-_' ']+).
tags Map<String,String>
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
timeouts ProfilesAssociationTimeouts
profileId This property is required. string
ID of the profile associated with the VPC.
resourceId This property is required. string
Resource ID of the VPC the profile to be associated with.
name string
Name of the Profile Association. Must match a regex of (?!^[0-9]+$)([a-zA-Z0-9\\-_' ']+).
tags {[key: string]: string}
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
timeouts ProfilesAssociationTimeouts
profile_id This property is required. str
ID of the profile associated with the VPC.
resource_id This property is required. str
Resource ID of the VPC the profile to be associated with.
name str
Name of the Profile Association. Must match a regex of (?!^[0-9]+$)([a-zA-Z0-9\\-_' ']+).
tags Mapping[str, str]
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
timeouts ProfilesAssociationTimeoutsArgs
profileId This property is required. String
ID of the profile associated with the VPC.
resourceId This property is required. String
Resource ID of the VPC the profile to be associated with.
name String
Name of the Profile Association. Must match a regex of (?!^[0-9]+$)([a-zA-Z0-9\\-_' ']+).
tags Map<String>
Map of tags to assign to the resource. 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

Outputs

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

Arn string
Id string
The provider-assigned unique ID for this managed resource.
OwnerId string
Status string
Status of the Profile Association.
StatusMessage string
Status message of the Profile Association.
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
Id string
The provider-assigned unique ID for this managed resource.
OwnerId string
Status string
Status of the Profile Association.
StatusMessage string
Status message of the Profile Association.
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
id String
The provider-assigned unique ID for this managed resource.
ownerId String
status String
Status of the Profile Association.
statusMessage String
Status message of the Profile Association.
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
id string
The provider-assigned unique ID for this managed resource.
ownerId string
status string
Status of the Profile Association.
statusMessage string
Status message of the Profile Association.
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
id str
The provider-assigned unique ID for this managed resource.
owner_id str
status str
Status of the Profile Association.
status_message str
Status message of the Profile Association.
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
id String
The provider-assigned unique ID for this managed resource.
ownerId String
status String
Status of the Profile Association.
statusMessage String
Status message of the Profile Association.
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 ProfilesAssociation Resource

Get an existing ProfilesAssociation 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?: ProfilesAssociationState, opts?: CustomResourceOptions): ProfilesAssociation
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        arn: Optional[str] = None,
        name: Optional[str] = None,
        owner_id: Optional[str] = None,
        profile_id: Optional[str] = None,
        resource_id: Optional[str] = None,
        status: Optional[str] = None,
        status_message: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None,
        timeouts: Optional[ProfilesAssociationTimeoutsArgs] = None) -> ProfilesAssociation
func GetProfilesAssociation(ctx *Context, name string, id IDInput, state *ProfilesAssociationState, opts ...ResourceOption) (*ProfilesAssociation, error)
public static ProfilesAssociation Get(string name, Input<string> id, ProfilesAssociationState? state, CustomResourceOptions? opts = null)
public static ProfilesAssociation get(String name, Output<String> id, ProfilesAssociationState state, CustomResourceOptions options)
resources:  _:    type: aws:route53:ProfilesAssociation    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:
Arn string
Name string
Name of the Profile Association. Must match a regex of (?!^[0-9]+$)([a-zA-Z0-9\\-_' ']+).
OwnerId string
ProfileId string
ID of the profile associated with the VPC.
ResourceId string
Resource ID of the VPC the profile to be associated with.
Status string
Status of the Profile Association.
StatusMessage string
Status message of the Profile Association.
Tags Dictionary<string, string>
Map of tags to assign to the resource. 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 ProfilesAssociationTimeouts
Arn string
Name string
Name of the Profile Association. Must match a regex of (?!^[0-9]+$)([a-zA-Z0-9\\-_' ']+).
OwnerId string
ProfileId string
ID of the profile associated with the VPC.
ResourceId string
Resource ID of the VPC the profile to be associated with.
Status string
Status of the Profile Association.
StatusMessage string
Status message of the Profile Association.
Tags map[string]string
Map of tags to assign to the resource. 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 ProfilesAssociationTimeoutsArgs
arn String
name String
Name of the Profile Association. Must match a regex of (?!^[0-9]+$)([a-zA-Z0-9\\-_' ']+).
ownerId String
profileId String
ID of the profile associated with the VPC.
resourceId String
Resource ID of the VPC the profile to be associated with.
status String
Status of the Profile Association.
statusMessage String
Status message of the Profile Association.
tags Map<String,String>
Map of tags to assign to the resource. 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 ProfilesAssociationTimeouts
arn string
name string
Name of the Profile Association. Must match a regex of (?!^[0-9]+$)([a-zA-Z0-9\\-_' ']+).
ownerId string
profileId string
ID of the profile associated with the VPC.
resourceId string
Resource ID of the VPC the profile to be associated with.
status string
Status of the Profile Association.
statusMessage string
Status message of the Profile Association.
tags {[key: string]: string}
Map of tags to assign to the resource. 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 ProfilesAssociationTimeouts
arn str
name str
Name of the Profile Association. Must match a regex of (?!^[0-9]+$)([a-zA-Z0-9\\-_' ']+).
owner_id str
profile_id str
ID of the profile associated with the VPC.
resource_id str
Resource ID of the VPC the profile to be associated with.
status str
Status of the Profile Association.
status_message str
Status message of the Profile Association.
tags Mapping[str, str]
Map of tags to assign to the resource. 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 ProfilesAssociationTimeoutsArgs
arn String
name String
Name of the Profile Association. Must match a regex of (?!^[0-9]+$)([a-zA-Z0-9\\-_' ']+).
ownerId String
profileId String
ID of the profile associated with the VPC.
resourceId String
Resource ID of the VPC the profile to be associated with.
status String
Status of the Profile Association.
statusMessage String
Status message of the Profile Association.
tags Map<String>
Map of tags to assign to the resource. 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

Supporting Types

ProfilesAssociationTimeouts
, ProfilesAssociationTimeoutsArgs

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 Route 53 Profiles Association using the example_id_arg. For example:

$ pulumi import aws:route53/profilesAssociation:ProfilesAssociation example rpa-id-12345678
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.