We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
Resource Type definition for AWS::Route53Profiles::ProfileAssociation
Create ProfileAssociation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ProfileAssociation(name: string, args: ProfileAssociationArgs, opts?: CustomResourceOptions);@overload
def ProfileAssociation(resource_name: str,
args: ProfileAssociationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ProfileAssociation(resource_name: str,
opts: Optional[ResourceOptions] = None,
profile_id: Optional[str] = None,
resource_id: Optional[str] = None,
arn: Optional[str] = None,
name: Optional[str] = None,
priority: Optional[int] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewProfileAssociation(ctx *Context, name string, args ProfileAssociationArgs, opts ...ResourceOption) (*ProfileAssociation, error)public ProfileAssociation(string name, ProfileAssociationArgs args, CustomResourceOptions? opts = null)
public ProfileAssociation(String name, ProfileAssociationArgs args)
public ProfileAssociation(String name, ProfileAssociationArgs args, CustomResourceOptions options)
type: aws-native:route53profiles:ProfileAssociation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_route53profiles_profile_association" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ProfileAssociationArgs
- 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 ProfileAssociationArgs
- 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 ProfileAssociationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProfileAssociationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProfileAssociationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ProfileAssociation 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 ProfileAssociation resource accepts the following input properties:
- Profile
Id string - The ID of the profile that you associated with the resource that is specified by ResourceId.
- Resource
Id string - The resource that you associated the profile with.
- Arn string
- The Amazon Resource Name (ARN) of the profile association.
- Name string
- The name of an association between a Profile and a VPC.
- Priority int
- The priority of the profile association, used to order the profiles applied to a VPC when multiple profiles are associated with it. Lower values have higher precedence. Omit for the first profile associated with a VPC. This orders whole profiles on a VPC and is distinct from the DNS Firewall rule group priority carried in a ProfileResourceAssociation's ResourceProperties.
-
List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs to apply to this resource.
- Profile
Id string - The ID of the profile that you associated with the resource that is specified by ResourceId.
- Resource
Id string - The resource that you associated the profile with.
- Arn string
- The Amazon Resource Name (ARN) of the profile association.
- Name string
- The name of an association between a Profile and a VPC.
- Priority int
- The priority of the profile association, used to order the profiles applied to a VPC when multiple profiles are associated with it. Lower values have higher precedence. Omit for the first profile associated with a VPC. This orders whole profiles on a VPC and is distinct from the DNS Firewall rule group priority carried in a ProfileResourceAssociation's ResourceProperties.
-
Tag
Args - An array of key-value pairs to apply to this resource.
- profile_
id string - The ID of the profile that you associated with the resource that is specified by ResourceId.
- resource_
id string - The resource that you associated the profile with.
- arn string
- The Amazon Resource Name (ARN) of the profile association.
- name string
- The name of an association between a Profile and a VPC.
- priority number
- The priority of the profile association, used to order the profiles applied to a VPC when multiple profiles are associated with it. Lower values have higher precedence. Omit for the first profile associated with a VPC. This orders whole profiles on a VPC and is distinct from the DNS Firewall rule group priority carried in a ProfileResourceAssociation's ResourceProperties.
- list(object)
- An array of key-value pairs to apply to this resource.
- profile
Id String - The ID of the profile that you associated with the resource that is specified by ResourceId.
- resource
Id String - The resource that you associated the profile with.
- arn String
- The Amazon Resource Name (ARN) of the profile association.
- name String
- The name of an association between a Profile and a VPC.
- priority Integer
- The priority of the profile association, used to order the profiles applied to a VPC when multiple profiles are associated with it. Lower values have higher precedence. Omit for the first profile associated with a VPC. This orders whole profiles on a VPC and is distinct from the DNS Firewall rule group priority carried in a ProfileResourceAssociation's ResourceProperties.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- profile
Id string - The ID of the profile that you associated with the resource that is specified by ResourceId.
- resource
Id string - The resource that you associated the profile with.
- arn string
- The Amazon Resource Name (ARN) of the profile association.
- name string
- The name of an association between a Profile and a VPC.
- priority number
- The priority of the profile association, used to order the profiles applied to a VPC when multiple profiles are associated with it. Lower values have higher precedence. Omit for the first profile associated with a VPC. This orders whole profiles on a VPC and is distinct from the DNS Firewall rule group priority carried in a ProfileResourceAssociation's ResourceProperties.
- Tag[]
- An array of key-value pairs to apply to this resource.
- profile_
id str - The ID of the profile that you associated with the resource that is specified by ResourceId.
- resource_
id str - The resource that you associated the profile with.
- arn str
- The Amazon Resource Name (ARN) of the profile association.
- name str
- The name of an association between a Profile and a VPC.
- priority int
- The priority of the profile association, used to order the profiles applied to a VPC when multiple profiles are associated with it. Lower values have higher precedence. Omit for the first profile associated with a VPC. This orders whole profiles on a VPC and is distinct from the DNS Firewall rule group priority carried in a ProfileResourceAssociation's ResourceProperties.
-
Sequence[Tag
Args] - An array of key-value pairs to apply to this resource.
- profile
Id String - The ID of the profile that you associated with the resource that is specified by ResourceId.
- resource
Id String - The resource that you associated the profile with.
- arn String
- The Amazon Resource Name (ARN) of the profile association.
- name String
- The name of an association between a Profile and a VPC.
- priority Number
- The priority of the profile association, used to order the profiles applied to a VPC when multiple profiles are associated with it. Lower values have higher precedence. Omit for the first profile associated with a VPC. This orders whole profiles on a VPC and is distinct from the DNS Firewall rule group priority carried in a ProfileResourceAssociation's ResourceProperties.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the ProfileAssociation resource produces the following output properties:
Look up Existing ProfileAssociation Resource
Get an existing ProfileAssociation 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>, opts?: CustomResourceOptions): ProfileAssociation@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> ProfileAssociationfunc GetProfileAssociation(ctx *Context, name string, id IDInput, state *ProfileAssociationState, opts ...ResourceOption) (*ProfileAssociation, error)public static ProfileAssociation Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static ProfileAssociation get(String name, Output<String> id, CustomResourceOptions options)resources: existingProfileAssociation: type: aws-native:route53profiles:ProfileAssociation get: id: ${id}import {
to = aws-native_route53profiles_profile_association.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state ProfileAssociationState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
Tag, TagArgs
A set of tags to apply to the resource.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi