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}
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 string
- The unique name of the resource.
- args ProfilesResourceAssociationArgs
- 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 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 string
- The unique name of the resource.
- args ProfilesResourceAssociationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProfilesResourceAssociationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
},
});
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"),
},
})
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());
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",
})
const profilesResourceAssociationResource = new aws.route53.ProfilesResourceAssociation("profilesResourceAssociationResource", {
profileId: "string",
resourceArn: "string",
name: "string",
resourceProperties: "string",
timeouts: {
create: "string",
"delete": "string",
read: "string",
},
});
type: aws:route53:ProfilesResourceAssociation
properties:
name: string
profileId: string
resourceArn: string
resourceProperties: string
timeouts:
create: string
delete: string
read: string
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:
- Profile
Id string - ID of the profile associated with the VPC.
- Resource
Arn string - Resource ID of the resource to be associated with the profile.
- Name string
- Name of the Profile Resource Association.
- Resource
Properties string - Resource properties for the resource to be associated with the profile.
- Timeouts
Profiles
Resource Association Timeouts
- Profile
Id string - ID of the profile associated with the VPC.
- Resource
Arn string - Resource ID of the resource to be associated with the profile.
- Name string
- Name of the Profile Resource Association.
- Resource
Properties string - Resource properties for the resource to be associated with the profile.
- Timeouts
Profiles
Resource Association Timeouts Args
- profile
Id String - ID of the profile associated with the VPC.
- resource
Arn String - Resource ID of the resource to be associated with the profile.
- name String
- Name of the Profile Resource Association.
- resource
Properties String - Resource properties for the resource to be associated with the profile.
- timeouts
Profiles
Resource Association Timeouts
- profile
Id string - ID of the profile associated with the VPC.
- resource
Arn string - Resource ID of the resource to be associated with the profile.
- name string
- Name of the Profile Resource Association.
- resource
Properties string - Resource properties for the resource to be associated with the profile.
- timeouts
Profiles
Resource Association Timeouts
- 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.
- name str
- Name of the Profile Resource Association.
- resource_
properties str - Resource properties for the resource to be associated with the profile.
- timeouts
Profiles
Resource Association Timeouts Args
- profile
Id String - ID of the profile associated with the VPC.
- resource
Arn String - Resource ID of the resource to be associated with the profile.
- name String
- Name of the Profile Resource Association.
- resource
Properties 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.
- Owner
Id string - Resource
Type string - Type of resource associated with the profile.
- Status string
- Status of the Profile Association. Valid values AWS docs
- Status
Message string - Status message of the Profile Resource Association.
- Id string
- The provider-assigned unique ID for this managed resource.
- Owner
Id string - Resource
Type string - Type of resource associated with the profile.
- Status string
- Status of the Profile Association. Valid values AWS docs
- Status
Message string - Status message of the Profile Resource Association.
- id String
- The provider-assigned unique ID for this managed resource.
- owner
Id String - resource
Type String - Type of resource associated with the profile.
- status String
- Status of the Profile Association. Valid values AWS docs
- status
Message String - Status message of the Profile Resource Association.
- id string
- The provider-assigned unique ID for this managed resource.
- owner
Id string - resource
Type string - Type of resource associated with the profile.
- status string
- Status of the Profile Association. Valid values AWS docs
- status
Message 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.
- owner
Id String - resource
Type String - Type of resource associated with the profile.
- status String
- Status of the Profile Association. Valid values AWS docs
- status
Message 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)
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.
- Name string
- Name of the Profile Resource Association.
- Owner
Id string - Profile
Id string - ID of the profile associated with the VPC.
- Resource
Arn string - Resource ID of the resource to be associated with the profile.
- Resource
Properties string - Resource properties for the resource to be associated with the profile.
- Resource
Type string - Type of resource associated with the profile.
- Status string
- Status of the Profile Association. Valid values AWS docs
- Status
Message string - Status message of the Profile Resource Association.
- Timeouts
Profiles
Resource Association Timeouts
- Name string
- Name of the Profile Resource Association.
- Owner
Id string - Profile
Id string - ID of the profile associated with the VPC.
- Resource
Arn string - Resource ID of the resource to be associated with the profile.
- Resource
Properties string - Resource properties for the resource to be associated with the profile.
- Resource
Type string - Type of resource associated with the profile.
- Status string
- Status of the Profile Association. Valid values AWS docs
- Status
Message string - Status message of the Profile Resource Association.
- Timeouts
Profiles
Resource Association Timeouts Args
- name String
- Name of the Profile Resource Association.
- owner
Id String - profile
Id String - ID of the profile associated with the VPC.
- resource
Arn String - Resource ID of the resource to be associated with the profile.
- resource
Properties String - Resource properties for the resource to be associated with the profile.
- resource
Type String - Type of resource associated with the profile.
- status String
- Status of the Profile Association. Valid values AWS docs
- status
Message String - Status message of the Profile Resource Association.
- timeouts
Profiles
Resource Association Timeouts
- name string
- Name of the Profile Resource Association.
- owner
Id string - profile
Id string - ID of the profile associated with the VPC.
- resource
Arn string - Resource ID of the resource to be associated with the profile.
- resource
Properties string - Resource properties for the resource to be associated with the profile.
- resource
Type string - Type of resource associated with the profile.
- status string
- Status of the Profile Association. Valid values AWS docs
- status
Message string - Status message of the Profile Resource Association.
- timeouts
Profiles
Resource Association Timeouts
- 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
Profiles
Resource Association Timeouts Args
- name String
- Name of the Profile Resource Association.
- owner
Id String - profile
Id String - ID of the profile associated with the VPC.
- resource
Arn String - Resource ID of the resource to be associated with the profile.
- resource
Properties String - Resource properties for the resource to be associated with the profile.
- resource
Type String - Type of resource associated with the profile.
- status String
- Status of the Profile Association. Valid values AWS docs
- status
Message 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
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.