ProfilesAssociationArgs

data class ProfilesAssociationArgs(val name: Output<String>? = null, val profileId: Output<String>? = null, val resourceId: Output<String>? = null, val tags: Output<Map<String, String>>? = null, val timeouts: Output<ProfilesAssociationTimeoutsArgs>? = null) : ConvertibleToJava<ProfilesAssociationArgs>

Resource for managing an AWS Route 53 Profiles Association.

Example Usage

Basic Usage

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

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

Constructors

Link copied to clipboard
constructor(name: Output<String>? = null, profileId: Output<String>? = null, resourceId: Output<String>? = null, tags: Output<Map<String, String>>? = null, timeouts: Output<ProfilesAssociationTimeoutsArgs>? = null)

Properties

Link copied to clipboard
val name: Output<String>? = null

Name of the Profile Association. Must match a regex of (?!^[0-9]+$)([a-zA-Z0-9\\-_' ']+).

Link copied to clipboard
val profileId: Output<String>? = null

ID of the profile associated with the VPC.

Link copied to clipboard
val resourceId: Output<String>? = null

Resource ID of the VPC the profile to be associated with.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

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.

Link copied to clipboard

Functions

Link copied to clipboard
open override fun toJava(): ProfilesAssociationArgs