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}
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 string
- The unique name of the resource.
- args ProfilesAssociationArgs
- 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 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 string
- The unique name of the resource.
- args ProfilesAssociationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProfilesAssociationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
},
});
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"),
},
})
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());
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",
})
const profilesAssociationResource = new aws.route53.ProfilesAssociation("profilesAssociationResource", {
profileId: "string",
resourceId: "string",
name: "string",
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
update: "string",
},
});
type: aws:route53:ProfilesAssociation
properties:
name: string
profileId: string
resourceId: string
tags:
string: string
timeouts:
create: string
delete: string
update: string
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:
- Profile
Id string - ID of the profile associated with the VPC.
- Resource
Id 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\\-_' ']+)
. - Dictionary<string, string>
- Timeouts
Profiles
Association Timeouts
- Profile
Id string - ID of the profile associated with the VPC.
- Resource
Id 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\\-_' ']+)
. - map[string]string
- Timeouts
Profiles
Association Timeouts Args
- profile
Id String - ID of the profile associated with the VPC.
- resource
Id 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\\-_' ']+)
. - Map<String,String>
- timeouts
Profiles
Association Timeouts
- profile
Id string - ID of the profile associated with the VPC.
- resource
Id 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\\-_' ']+)
. - {[key: string]: string}
- timeouts
Profiles
Association Timeouts
- 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.
- name str
- Name of the Profile Association. Must match a regex of
(?!^[0-9]+$)([a-zA-Z0-9\\-_' ']+)
. - Mapping[str, str]
- timeouts
Profiles
Association Timeouts Args
- profile
Id String - ID of the profile associated with the VPC.
- resource
Id 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\\-_' ']+)
. - Map<String>
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the ProfilesAssociation resource produces the following output properties:
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)
Resource lookup is not supported in YAML
- 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.
- Arn string
- Name string
- Name of the Profile Association. Must match a regex of
(?!^[0-9]+$)([a-zA-Z0-9\\-_' ']+)
. - Owner
Id string - Profile
Id string - ID of the profile associated with the VPC.
- Resource
Id string - Resource ID of the VPC the profile to be associated with.
- Status string
- Status of the Profile Association. See the AWS docs for valid values.
- Status
Message string - Status message of the Profile Association.
- Dictionary<string, string>
- Dictionary<string, string>
- Timeouts
Profiles
Association Timeouts
- Arn string
- Name string
- Name of the Profile Association. Must match a regex of
(?!^[0-9]+$)([a-zA-Z0-9\\-_' ']+)
. - Owner
Id string - Profile
Id string - ID of the profile associated with the VPC.
- Resource
Id string - Resource ID of the VPC the profile to be associated with.
- Status string
- Status of the Profile Association. See the AWS docs for valid values.
- Status
Message string - Status message of the Profile Association.
- map[string]string
- map[string]string
- Timeouts
Profiles
Association Timeouts Args
- arn String
- name String
- Name of the Profile Association. Must match a regex of
(?!^[0-9]+$)([a-zA-Z0-9\\-_' ']+)
. - owner
Id String - profile
Id String - ID of the profile associated with the VPC.
- resource
Id String - Resource ID of the VPC the profile to be associated with.
- status String
- Status of the Profile Association. See the AWS docs for valid values.
- status
Message String - Status message of the Profile Association.
- Map<String,String>
- Map<String,String>
- timeouts
Profiles
Association Timeouts
- arn string
- name string
- Name of the Profile Association. Must match a regex of
(?!^[0-9]+$)([a-zA-Z0-9\\-_' ']+)
. - owner
Id string - profile
Id string - ID of the profile associated with the VPC.
- resource
Id string - Resource ID of the VPC the profile to be associated with.
- status string
- Status of the Profile Association. See the AWS docs for valid values.
- status
Message string - Status message of the Profile Association.
- {[key: string]: string}
- {[key: string]: string}
- timeouts
Profiles
Association Timeouts
- 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. See the AWS docs for valid values.
- status_
message str - Status message of the Profile Association.
- Mapping[str, str]
- Mapping[str, str]
- timeouts
Profiles
Association Timeouts Args
- arn String
- name String
- Name of the Profile Association. Must match a regex of
(?!^[0-9]+$)([a-zA-Z0-9\\-_' ']+)
. - owner
Id String - profile
Id String - ID of the profile associated with the VPC.
- resource
Id String - Resource ID of the VPC the profile to be associated with.
- status String
- Status of the Profile Association. See the AWS docs for valid values.
- status
Message String - Status message of the Profile Association.
- Map<String>
- Map<String>
- 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
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.