aws.route53.ProfilesProfile
Explore with Pulumi AI
Resource for managing an AWS Route 53 Profile.
Example Usage
Empty Profile
import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";
const example = new aws.route53.ProfilesProfile("example", {name: "example"});
import pulumi
import pulumi_aws as aws
example = aws.route53.ProfilesProfile("example", name="example")
package main
import (
"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/route53"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := route53.NewProfilesProfile(ctx, "example", &route53.ProfilesProfileArgs{
Name: pulumi.String("example"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;
return await Deployment.RunAsync(() =>
{
var example = new Aws.Route53.ProfilesProfile("example", new()
{
Name = "example",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.route53.ProfilesProfile;
import com.pulumi.aws.route53.ProfilesProfileArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new ProfilesProfile("example", ProfilesProfileArgs.builder()
.name("example")
.build());
}
}
resources:
example:
type: aws:route53:ProfilesProfile
properties:
name: example
Create ProfilesProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ProfilesProfile(name: string, args?: ProfilesProfileArgs, opts?: CustomResourceOptions);
@overload
def ProfilesProfile(resource_name: str,
args: Optional[ProfilesProfileArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ProfilesProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
timeouts: Optional[ProfilesProfileTimeoutsArgs] = None)
func NewProfilesProfile(ctx *Context, name string, args *ProfilesProfileArgs, opts ...ResourceOption) (*ProfilesProfile, error)
public ProfilesProfile(string name, ProfilesProfileArgs? args = null, CustomResourceOptions? opts = null)
public ProfilesProfile(String name, ProfilesProfileArgs args)
public ProfilesProfile(String name, ProfilesProfileArgs args, CustomResourceOptions options)
type: aws:route53:ProfilesProfile
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 ProfilesProfileArgs
- 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 ProfilesProfileArgs
- 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 ProfilesProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProfilesProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProfilesProfileArgs
- 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 profilesProfileResource = new Aws.Route53.ProfilesProfile("profilesProfileResource", new()
{
Name = "string",
Tags =
{
{ "string", "string" },
},
Timeouts = new Aws.Route53.Inputs.ProfilesProfileTimeoutsArgs
{
Create = "string",
Delete = "string",
Read = "string",
},
});
example, err := route53.NewProfilesProfile(ctx, "profilesProfileResource", &route53.ProfilesProfileArgs{
Name: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
Timeouts: &route53.ProfilesProfileTimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
Read: pulumi.String("string"),
},
})
var profilesProfileResource = new ProfilesProfile("profilesProfileResource", ProfilesProfileArgs.builder()
.name("string")
.tags(Map.of("string", "string"))
.timeouts(ProfilesProfileTimeoutsArgs.builder()
.create("string")
.delete("string")
.read("string")
.build())
.build());
profiles_profile_resource = aws.route53.ProfilesProfile("profilesProfileResource",
name="string",
tags={
"string": "string",
},
timeouts={
"create": "string",
"delete": "string",
"read": "string",
})
const profilesProfileResource = new aws.route53.ProfilesProfile("profilesProfileResource", {
name: "string",
tags: {
string: "string",
},
timeouts: {
create: "string",
"delete": "string",
read: "string",
},
});
type: aws:route53:ProfilesProfile
properties:
name: string
tags:
string: string
timeouts:
create: string
delete: string
read: string
ProfilesProfile 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 ProfilesProfile resource accepts the following input properties:
- Name string
- Name of the Profile.
- Dictionary<string, string>
- Timeouts
Profiles
Profile Timeouts
- Name string
- Name of the Profile.
- map[string]string
- Timeouts
Profiles
Profile Timeouts Args
- name String
- Name of the Profile.
- Map<String,String>
- timeouts
Profiles
Profile Timeouts
- name string
- Name of the Profile.
- {[key: string]: string}
- timeouts
Profiles
Profile Timeouts
- name str
- Name of the Profile.
- Mapping[str, str]
- timeouts
Profiles
Profile Timeouts Args
- name String
- Name of the Profile.
- Map<String>
- timeouts Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the ProfilesProfile resource produces the following output properties:
- Arn string
- ARN of the Profile.
- Id string
- The provider-assigned unique ID for this managed resource.
- Owner
Id string - string
- Share status of the Profile. Valid values AWS docs
- Status string
- Status of the Profile. Valid values AWS docs
- Status
Message string - Status message of the Profile.
- Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- Arn string
- ARN of the Profile.
- Id string
- The provider-assigned unique ID for this managed resource.
- Owner
Id string - string
- Share status of the Profile. Valid values AWS docs
- Status string
- Status of the Profile. Valid values AWS docs
- Status
Message string - Status message of the Profile.
- map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
- ARN of the Profile.
- id String
- The provider-assigned unique ID for this managed resource.
- owner
Id String - String
- Share status of the Profile. Valid values AWS docs
- status String
- Status of the Profile. Valid values AWS docs
- status
Message String - Status message of the Profile.
- Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn string
- ARN of the Profile.
- id string
- The provider-assigned unique ID for this managed resource.
- owner
Id string - string
- Share status of the Profile. Valid values AWS docs
- status string
- Status of the Profile. Valid values AWS docs
- status
Message string - Status message of the Profile.
- {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn str
- ARN of the Profile.
- id str
- The provider-assigned unique ID for this managed resource.
- owner_
id str - str
- Share status of the Profile. Valid values AWS docs
- status str
- Status of the Profile. Valid values AWS docs
- status_
message str - Status message of the Profile.
- Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
- arn String
- ARN of the Profile.
- id String
- The provider-assigned unique ID for this managed resource.
- owner
Id String - String
- Share status of the Profile. Valid values AWS docs
- status String
- Status of the Profile. Valid values AWS docs
- status
Message String - Status message of the Profile.
- Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block.
Look up Existing ProfilesProfile Resource
Get an existing ProfilesProfile 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?: ProfilesProfileState, opts?: CustomResourceOptions): ProfilesProfile
@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,
share_status: 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[ProfilesProfileTimeoutsArgs] = None) -> ProfilesProfile
func GetProfilesProfile(ctx *Context, name string, id IDInput, state *ProfilesProfileState, opts ...ResourceOption) (*ProfilesProfile, error)
public static ProfilesProfile Get(string name, Input<string> id, ProfilesProfileState? state, CustomResourceOptions? opts = null)
public static ProfilesProfile get(String name, Output<String> id, ProfilesProfileState 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
- ARN of the Profile.
- Name string
- Name of the Profile.
- Owner
Id string - string
- Share status of the Profile. Valid values AWS docs
- Status string
- Status of the Profile. Valid values AWS docs
- Status
Message string - Status message of the Profile.
- Dictionary<string, string>
- Dictionary<string, string>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Timeouts
Profiles
Profile Timeouts
- Arn string
- ARN of the Profile.
- Name string
- Name of the Profile.
- Owner
Id string - string
- Share status of the Profile. Valid values AWS docs
- Status string
- Status of the Profile. Valid values AWS docs
- Status
Message string - Status message of the Profile.
- map[string]string
- map[string]string
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - Timeouts
Profiles
Profile Timeouts Args
- arn String
- ARN of the Profile.
- name String
- Name of the Profile.
- owner
Id String - String
- Share status of the Profile. Valid values AWS docs
- status String
- Status of the Profile. Valid values AWS docs
- status
Message String - Status message of the Profile.
- Map<String,String>
- Map<String,String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts
Profiles
Profile Timeouts
- arn string
- ARN of the Profile.
- name string
- Name of the Profile.
- owner
Id string - string
- Share status of the Profile. Valid values AWS docs
- status string
- Status of the Profile. Valid values AWS docs
- status
Message string - Status message of the Profile.
- {[key: string]: string}
- {[key: string]: string}
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts
Profiles
Profile Timeouts
- arn str
- ARN of the Profile.
- name str
- Name of the Profile.
- owner_
id str - str
- Share status of the Profile. Valid values AWS docs
- status str
- Status of the Profile. Valid values AWS docs
- status_
message str - Status message of the Profile.
- Mapping[str, str]
- Mapping[str, str]
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts
Profiles
Profile Timeouts Args
- arn String
- ARN of the Profile.
- name String
- Name of the Profile.
- owner
Id String - String
- Share status of the Profile. Valid values AWS docs
- status String
- Status of the Profile. Valid values AWS docs
- status
Message String - Status message of the Profile.
- Map<String>
- Map<String>
- Map of tags assigned to the resource, including those inherited from the provider
default_tags
configuration block. - timeouts Property Map
Supporting Types
ProfilesProfileTimeouts, ProfilesProfileTimeoutsArgs
- 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 Profile using the example
. For example:
$ pulumi import aws:route53/profilesProfile:ProfilesProfile example rp-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.