1. Packages
  2. AWS
  3. API Docs
  4. route53
  5. ProfilesAssociation
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

aws.route53.ProfilesAssociation

Explore with Pulumi AI

aws logo
AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi

    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:

    ProfileId string
    ID of the profile associated with the VPC.
    ResourceId 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\\-_' ']+).
    Tags Dictionary<string, string>
    Timeouts ProfilesAssociationTimeouts
    ProfileId string
    ID of the profile associated with the VPC.
    ResourceId 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\\-_' ']+).
    Tags map[string]string
    Timeouts ProfilesAssociationTimeoutsArgs
    profileId String
    ID of the profile associated with the VPC.
    resourceId 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\\-_' ']+).
    tags Map<String,String>
    timeouts ProfilesAssociationTimeouts
    profileId string
    ID of the profile associated with the VPC.
    resourceId 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\\-_' ']+).
    tags {[key: string]: string}
    timeouts ProfilesAssociationTimeouts
    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\\-_' ']+).
    tags Mapping[str, str]
    timeouts ProfilesAssociationTimeoutsArgs
    profileId String
    ID of the profile associated with the VPC.
    resourceId 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\\-_' ']+).
    tags Map<String>
    timeouts Property Map

    Outputs

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

    Arn string
    Id string
    The provider-assigned unique ID for this managed resource.
    OwnerId string
    Status string
    Status of the Profile Association. See the AWS docs for valid values.
    StatusMessage string
    Status message of the Profile Association.
    TagsAll Dictionary<string, string>

    Deprecated: Please use tags instead.

    Arn string
    Id string
    The provider-assigned unique ID for this managed resource.
    OwnerId string
    Status string
    Status of the Profile Association. See the AWS docs for valid values.
    StatusMessage string
    Status message of the Profile Association.
    TagsAll map[string]string

    Deprecated: Please use tags instead.

    arn String
    id String
    The provider-assigned unique ID for this managed resource.
    ownerId String
    status String
    Status of the Profile Association. See the AWS docs for valid values.
    statusMessage String
    Status message of the Profile Association.
    tagsAll Map<String,String>

    Deprecated: Please use tags instead.

    arn string
    id string
    The provider-assigned unique ID for this managed resource.
    ownerId string
    status string
    Status of the Profile Association. See the AWS docs for valid values.
    statusMessage string
    Status message of the Profile Association.
    tagsAll {[key: string]: string}

    Deprecated: Please use tags instead.

    arn str
    id str
    The provider-assigned unique ID for this managed resource.
    owner_id str
    status str
    Status of the Profile Association. See the AWS docs for valid values.
    status_message str
    Status message of the Profile Association.
    tags_all Mapping[str, str]

    Deprecated: Please use tags instead.

    arn String
    id String
    The provider-assigned unique ID for this managed resource.
    ownerId String
    status String
    Status of the Profile Association. See the AWS docs for valid values.
    statusMessage String
    Status message of the Profile Association.
    tagsAll Map<String>

    Deprecated: Please use tags instead.

    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.
    The following state arguments are supported:
    Arn string
    Name string
    Name of the Profile Association. Must match a regex of (?!^[0-9]+$)([a-zA-Z0-9\\-_' ']+).
    OwnerId string
    ProfileId string
    ID of the profile associated with the VPC.
    ResourceId 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.
    StatusMessage string
    Status message of the Profile Association.
    Tags Dictionary<string, string>
    TagsAll Dictionary<string, string>

    Deprecated: Please use tags instead.

    Timeouts ProfilesAssociationTimeouts
    Arn string
    Name string
    Name of the Profile Association. Must match a regex of (?!^[0-9]+$)([a-zA-Z0-9\\-_' ']+).
    OwnerId string
    ProfileId string
    ID of the profile associated with the VPC.
    ResourceId 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.
    StatusMessage string
    Status message of the Profile Association.
    Tags map[string]string
    TagsAll map[string]string

    Deprecated: Please use tags instead.

    Timeouts ProfilesAssociationTimeoutsArgs
    arn String
    name String
    Name of the Profile Association. Must match a regex of (?!^[0-9]+$)([a-zA-Z0-9\\-_' ']+).
    ownerId String
    profileId String
    ID of the profile associated with the VPC.
    resourceId 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.
    statusMessage String
    Status message of the Profile Association.
    tags Map<String,String>
    tagsAll Map<String,String>

    Deprecated: Please use tags instead.

    timeouts ProfilesAssociationTimeouts
    arn string
    name string
    Name of the Profile Association. Must match a regex of (?!^[0-9]+$)([a-zA-Z0-9\\-_' ']+).
    ownerId string
    profileId string
    ID of the profile associated with the VPC.
    resourceId 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.
    statusMessage string
    Status message of the Profile Association.
    tags {[key: string]: string}
    tagsAll {[key: string]: string}

    Deprecated: Please use tags instead.

    timeouts ProfilesAssociationTimeouts
    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.
    tags Mapping[str, str]
    tags_all Mapping[str, str]

    Deprecated: Please use tags instead.

    timeouts ProfilesAssociationTimeoutsArgs
    arn String
    name String
    Name of the Profile Association. Must match a regex of (?!^[0-9]+$)([a-zA-Z0-9\\-_' ']+).
    ownerId String
    profileId String
    ID of the profile associated with the VPC.
    resourceId 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.
    statusMessage String
    Status message of the Profile Association.
    tags Map<String>
    tagsAll Map<String>

    Deprecated: Please use tags instead.

    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.
    aws logo
    AWS v6.60.0 published on Tuesday, Nov 19, 2024 by Pulumi