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

aws.route53.ProfilesResourceAssociation

Explore with Pulumi AI

Resource for managing an AWS Route 53 Profiles Resource 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
  exampleZone:
    type: aws:route53:Zone
    name: example
    properties:
      name: example.com
      vpcs:
        - vpcId: ${exampleVpc.id}
  exampleProfilesResourceAssociation:
    type: aws:route53:ProfilesResourceAssociation
    name: example
    properties:
      name: example
      profileId: ${example.id}
      resourceArn: ${exampleZone.arn}
Copy

Create ProfilesResourceAssociation Resource

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

Constructor syntax

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

@overload
def ProfilesResourceAssociation(resource_name: str,
                                opts: Optional[ResourceOptions] = None,
                                profile_id: Optional[str] = None,
                                resource_arn: Optional[str] = None,
                                name: Optional[str] = None,
                                resource_properties: Optional[str] = None,
                                timeouts: Optional[ProfilesResourceAssociationTimeoutsArgs] = None)
func NewProfilesResourceAssociation(ctx *Context, name string, args ProfilesResourceAssociationArgs, opts ...ResourceOption) (*ProfilesResourceAssociation, error)
public ProfilesResourceAssociation(string name, ProfilesResourceAssociationArgs args, CustomResourceOptions? opts = null)
public ProfilesResourceAssociation(String name, ProfilesResourceAssociationArgs args)
public ProfilesResourceAssociation(String name, ProfilesResourceAssociationArgs args, CustomResourceOptions options)
type: aws:route53:ProfilesResourceAssociation
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. ProfilesResourceAssociationArgs
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. ProfilesResourceAssociationArgs
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. ProfilesResourceAssociationArgs
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. ProfilesResourceAssociationArgs
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. ProfilesResourceAssociationArgs
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 profilesResourceAssociationResource = new Aws.Route53.ProfilesResourceAssociation("profilesResourceAssociationResource", new()
{
    ProfileId = "string",
    ResourceArn = "string",
    Name = "string",
    ResourceProperties = "string",
    Timeouts = new Aws.Route53.Inputs.ProfilesResourceAssociationTimeoutsArgs
    {
        Create = "string",
        Delete = "string",
        Read = "string",
    },
});
Copy
example, err := route53.NewProfilesResourceAssociation(ctx, "profilesResourceAssociationResource", &route53.ProfilesResourceAssociationArgs{
	ProfileId:          pulumi.String("string"),
	ResourceArn:        pulumi.String("string"),
	Name:               pulumi.String("string"),
	ResourceProperties: pulumi.String("string"),
	Timeouts: &route53.ProfilesResourceAssociationTimeoutsArgs{
		Create: pulumi.String("string"),
		Delete: pulumi.String("string"),
		Read:   pulumi.String("string"),
	},
})
Copy
var profilesResourceAssociationResource = new ProfilesResourceAssociation("profilesResourceAssociationResource", ProfilesResourceAssociationArgs.builder()
    .profileId("string")
    .resourceArn("string")
    .name("string")
    .resourceProperties("string")
    .timeouts(ProfilesResourceAssociationTimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .read("string")
        .build())
    .build());
Copy
profiles_resource_association_resource = aws.route53.ProfilesResourceAssociation("profilesResourceAssociationResource",
    profile_id="string",
    resource_arn="string",
    name="string",
    resource_properties="string",
    timeouts={
        "create": "string",
        "delete": "string",
        "read": "string",
    })
Copy
const profilesResourceAssociationResource = new aws.route53.ProfilesResourceAssociation("profilesResourceAssociationResource", {
    profileId: "string",
    resourceArn: "string",
    name: "string",
    resourceProperties: "string",
    timeouts: {
        create: "string",
        "delete": "string",
        read: "string",
    },
});
Copy
type: aws:route53:ProfilesResourceAssociation
properties:
    name: string
    profileId: string
    resourceArn: string
    resourceProperties: string
    timeouts:
        create: string
        delete: string
        read: string
Copy

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

ProfileId This property is required. string
ID of the profile associated with the VPC.
ResourceArn This property is required. string
Resource ID of the resource to be associated with the profile.
Name string
Name of the Profile Resource Association.
ResourceProperties string
Resource properties for the resource to be associated with the profile.
Timeouts ProfilesResourceAssociationTimeouts
ProfileId This property is required. string
ID of the profile associated with the VPC.
ResourceArn This property is required. string
Resource ID of the resource to be associated with the profile.
Name string
Name of the Profile Resource Association.
ResourceProperties string
Resource properties for the resource to be associated with the profile.
Timeouts ProfilesResourceAssociationTimeoutsArgs
profileId This property is required. String
ID of the profile associated with the VPC.
resourceArn This property is required. String
Resource ID of the resource to be associated with the profile.
name String
Name of the Profile Resource Association.
resourceProperties String
Resource properties for the resource to be associated with the profile.
timeouts ProfilesResourceAssociationTimeouts
profileId This property is required. string
ID of the profile associated with the VPC.
resourceArn This property is required. string
Resource ID of the resource to be associated with the profile.
name string
Name of the Profile Resource Association.
resourceProperties string
Resource properties for the resource to be associated with the profile.
timeouts ProfilesResourceAssociationTimeouts
profile_id This property is required. str
ID of the profile associated with the VPC.
resource_arn This property is required. str
Resource ID of the resource to be associated with the profile.
name str
Name of the Profile Resource Association.
resource_properties str
Resource properties for the resource to be associated with the profile.
timeouts ProfilesResourceAssociationTimeoutsArgs
profileId This property is required. String
ID of the profile associated with the VPC.
resourceArn This property is required. String
Resource ID of the resource to be associated with the profile.
name String
Name of the Profile Resource Association.
resourceProperties String
Resource properties for the resource to be associated with the profile.
timeouts Property Map

Outputs

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

Id string
The provider-assigned unique ID for this managed resource.
OwnerId string
ResourceType string
Type of resource associated with the profile.
Status string
Status of the Profile Association. Valid values AWS docs
StatusMessage string
Status message of the Profile Resource Association.
Id string
The provider-assigned unique ID for this managed resource.
OwnerId string
ResourceType string
Type of resource associated with the profile.
Status string
Status of the Profile Association. Valid values AWS docs
StatusMessage string
Status message of the Profile Resource Association.
id String
The provider-assigned unique ID for this managed resource.
ownerId String
resourceType String
Type of resource associated with the profile.
status String
Status of the Profile Association. Valid values AWS docs
statusMessage String
Status message of the Profile Resource Association.
id string
The provider-assigned unique ID for this managed resource.
ownerId string
resourceType string
Type of resource associated with the profile.
status string
Status of the Profile Association. Valid values AWS docs
statusMessage string
Status message of the Profile Resource Association.
id str
The provider-assigned unique ID for this managed resource.
owner_id str
resource_type str
Type of resource associated with the profile.
status str
Status of the Profile Association. Valid values AWS docs
status_message str
Status message of the Profile Resource Association.
id String
The provider-assigned unique ID for this managed resource.
ownerId String
resourceType String
Type of resource associated with the profile.
status String
Status of the Profile Association. Valid values AWS docs
statusMessage String
Status message of the Profile Resource Association.

Look up Existing ProfilesResourceAssociation Resource

Get an existing ProfilesResourceAssociation 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?: ProfilesResourceAssociationState, opts?: CustomResourceOptions): ProfilesResourceAssociation
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        name: Optional[str] = None,
        owner_id: Optional[str] = None,
        profile_id: Optional[str] = None,
        resource_arn: Optional[str] = None,
        resource_properties: Optional[str] = None,
        resource_type: Optional[str] = None,
        status: Optional[str] = None,
        status_message: Optional[str] = None,
        timeouts: Optional[ProfilesResourceAssociationTimeoutsArgs] = None) -> ProfilesResourceAssociation
func GetProfilesResourceAssociation(ctx *Context, name string, id IDInput, state *ProfilesResourceAssociationState, opts ...ResourceOption) (*ProfilesResourceAssociation, error)
public static ProfilesResourceAssociation Get(string name, Input<string> id, ProfilesResourceAssociationState? state, CustomResourceOptions? opts = null)
public static ProfilesResourceAssociation get(String name, Output<String> id, ProfilesResourceAssociationState state, CustomResourceOptions options)
resources:  _:    type: aws:route53:ProfilesResourceAssociation    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:
Name string
Name of the Profile Resource Association.
OwnerId string
ProfileId string
ID of the profile associated with the VPC.
ResourceArn string
Resource ID of the resource to be associated with the profile.
ResourceProperties string
Resource properties for the resource to be associated with the profile.
ResourceType string
Type of resource associated with the profile.
Status string
Status of the Profile Association. Valid values AWS docs
StatusMessage string
Status message of the Profile Resource Association.
Timeouts ProfilesResourceAssociationTimeouts
Name string
Name of the Profile Resource Association.
OwnerId string
ProfileId string
ID of the profile associated with the VPC.
ResourceArn string
Resource ID of the resource to be associated with the profile.
ResourceProperties string
Resource properties for the resource to be associated with the profile.
ResourceType string
Type of resource associated with the profile.
Status string
Status of the Profile Association. Valid values AWS docs
StatusMessage string
Status message of the Profile Resource Association.
Timeouts ProfilesResourceAssociationTimeoutsArgs
name String
Name of the Profile Resource Association.
ownerId String
profileId String
ID of the profile associated with the VPC.
resourceArn String
Resource ID of the resource to be associated with the profile.
resourceProperties String
Resource properties for the resource to be associated with the profile.
resourceType String
Type of resource associated with the profile.
status String
Status of the Profile Association. Valid values AWS docs
statusMessage String
Status message of the Profile Resource Association.
timeouts ProfilesResourceAssociationTimeouts
name string
Name of the Profile Resource Association.
ownerId string
profileId string
ID of the profile associated with the VPC.
resourceArn string
Resource ID of the resource to be associated with the profile.
resourceProperties string
Resource properties for the resource to be associated with the profile.
resourceType string
Type of resource associated with the profile.
status string
Status of the Profile Association. Valid values AWS docs
statusMessage string
Status message of the Profile Resource Association.
timeouts ProfilesResourceAssociationTimeouts
name str
Name of the Profile Resource Association.
owner_id str
profile_id str
ID of the profile associated with the VPC.
resource_arn str
Resource ID of the resource to be associated with the profile.
resource_properties str
Resource properties for the resource to be associated with the profile.
resource_type str
Type of resource associated with the profile.
status str
Status of the Profile Association. Valid values AWS docs
status_message str
Status message of the Profile Resource Association.
timeouts ProfilesResourceAssociationTimeoutsArgs
name String
Name of the Profile Resource Association.
ownerId String
profileId String
ID of the profile associated with the VPC.
resourceArn String
Resource ID of the resource to be associated with the profile.
resourceProperties String
Resource properties for the resource to be associated with the profile.
resourceType String
Type of resource associated with the profile.
status String
Status of the Profile Association. Valid values AWS docs
statusMessage String
Status message of the Profile Resource Association.
timeouts Property Map

Supporting Types

ProfilesResourceAssociationTimeouts
, ProfilesResourceAssociationTimeoutsArgs

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.
Read 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). Read operations occur during any refresh or planning operation when refresh is enabled.
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.
Read 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). Read operations occur during any refresh or planning operation when refresh is enabled.
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.
read 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). Read operations occur during any refresh or planning operation when refresh is enabled.
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.
read 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). Read operations occur during any refresh or planning operation when refresh is enabled.
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.
read 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). Read operations occur during any refresh or planning operation when refresh is enabled.
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.
read 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). Read operations occur during any refresh or planning operation when refresh is enabled.

Import

Using pulumi import, import Route 53 Profiles Resource Association using the example_id_arg. For example:

$ pulumi import aws:route53/profilesResourceAssociation:ProfilesResourceAssociation 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.