1. Registry
  2. Packages
  3. AWS Cloud Control
  4. API Docs
  5. cloudwatch
  6. AccessProfile

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi
aws-native logo aws-native logo AWS Cloud Control

We recommend new projects start with resources from the AWS provider.

Viewing docs for AWS Cloud Control v1.86.0
published on Wednesday, Nov 18, 2026 by Pulumi

    Resource type definition for AWS::CloudWatch::AccessProfile

    Create AccessProfile Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AccessProfile(name: string, args: AccessProfileArgs, opts?: CustomResourceOptions);
    @overload
    def AccessProfile(resource_name: str,
                      args: AccessProfileArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def AccessProfile(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      space_id: Optional[str] = None,
                      description: Optional[str] = None,
                      name: Optional[str] = None,
                      tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewAccessProfile(ctx *Context, name string, args AccessProfileArgs, opts ...ResourceOption) (*AccessProfile, error)
    public AccessProfile(string name, AccessProfileArgs args, CustomResourceOptions? opts = null)
    public AccessProfile(String name, AccessProfileArgs args)
    public AccessProfile(String name, AccessProfileArgs args, CustomResourceOptions options)
    
    type: aws-native:cloudwatch:AccessProfile
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aws-native_cloudwatch_access_profile" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args AccessProfileArgs
    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 AccessProfileArgs
    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 AccessProfileArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AccessProfileArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AccessProfileArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    AccessProfile 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 AccessProfile resource accepts the following input properties:

    SpaceId string
    The unique identifier of the space the access profile belongs to.
    Description string
    The description of the access profile.
    Name string
    The name of the access profile.
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    An array of key-value pairs to apply to this resource.
    SpaceId string
    The unique identifier of the space the access profile belongs to.
    Description string
    The description of the access profile.
    Name string
    The name of the access profile.
    Tags TagArgs
    An array of key-value pairs to apply to this resource.
    space_id string
    The unique identifier of the space the access profile belongs to.
    description string
    The description of the access profile.
    name string
    The name of the access profile.
    tags list(object)
    An array of key-value pairs to apply to this resource.
    spaceId String
    The unique identifier of the space the access profile belongs to.
    description String
    The description of the access profile.
    name String
    The name of the access profile.
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    spaceId string
    The unique identifier of the space the access profile belongs to.
    description string
    The description of the access profile.
    name string
    The name of the access profile.
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    space_id str
    The unique identifier of the space the access profile belongs to.
    description str
    The description of the access profile.
    name str
    The name of the access profile.
    tags Sequence[TagArgs]
    An array of key-value pairs to apply to this resource.
    spaceId String
    The unique identifier of the space the access profile belongs to.
    description String
    The description of the access profile.
    name String
    The name of the access profile.
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.

    Outputs

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

    Arn string
    The Amazon Resource Name (ARN) of the access profile.
    AssumeStatus Pulumi.AwsNative.CloudWatch.AccessProfileAssumeStatus
    Whether the calling principal is authorized to assume the access profile.
    CreatedAt string
    The time the access profile was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    ProfileId string
    The unique identifier of the access profile.
    ProfileType Pulumi.AwsNative.CloudWatch.AccessProfileProfileType
    Whether the access profile is managed by the service or by the customer.
    UpdatedAt string
    The time the access profile was last updated.
    Arn string
    The Amazon Resource Name (ARN) of the access profile.
    AssumeStatus AccessProfileAssumeStatus
    Whether the calling principal is authorized to assume the access profile.
    CreatedAt string
    The time the access profile was created.
    Id string
    The provider-assigned unique ID for this managed resource.
    ProfileId string
    The unique identifier of the access profile.
    ProfileType AccessProfileProfileType
    Whether the access profile is managed by the service or by the customer.
    UpdatedAt string
    The time the access profile was last updated.
    arn string
    The Amazon Resource Name (ARN) of the access profile.
    assume_status "ALLOWED" | "DENIED"
    Whether the calling principal is authorized to assume the access profile.
    created_at string
    The time the access profile was created.
    id string
    The provider-assigned unique ID for this managed resource.
    profile_id string
    The unique identifier of the access profile.
    profile_type "SERVICE_MANAGED" | "CUSTOMER_MANAGED"
    Whether the access profile is managed by the service or by the customer.
    updated_at string
    The time the access profile was last updated.
    arn String
    The Amazon Resource Name (ARN) of the access profile.
    assumeStatus AccessProfileAssumeStatus
    Whether the calling principal is authorized to assume the access profile.
    createdAt String
    The time the access profile was created.
    id String
    The provider-assigned unique ID for this managed resource.
    profileId String
    The unique identifier of the access profile.
    profileType AccessProfileProfileType
    Whether the access profile is managed by the service or by the customer.
    updatedAt String
    The time the access profile was last updated.
    arn string
    The Amazon Resource Name (ARN) of the access profile.
    assumeStatus AccessProfileAssumeStatus
    Whether the calling principal is authorized to assume the access profile.
    createdAt string
    The time the access profile was created.
    id string
    The provider-assigned unique ID for this managed resource.
    profileId string
    The unique identifier of the access profile.
    profileType AccessProfileProfileType
    Whether the access profile is managed by the service or by the customer.
    updatedAt string
    The time the access profile was last updated.
    arn str
    The Amazon Resource Name (ARN) of the access profile.
    assume_status AccessProfileAssumeStatus
    Whether the calling principal is authorized to assume the access profile.
    created_at str
    The time the access profile was created.
    id str
    The provider-assigned unique ID for this managed resource.
    profile_id str
    The unique identifier of the access profile.
    profile_type AccessProfileProfileType
    Whether the access profile is managed by the service or by the customer.
    updated_at str
    The time the access profile was last updated.
    arn String
    The Amazon Resource Name (ARN) of the access profile.
    assumeStatus "ALLOWED" | "DENIED"
    Whether the calling principal is authorized to assume the access profile.
    createdAt String
    The time the access profile was created.
    id String
    The provider-assigned unique ID for this managed resource.
    profileId String
    The unique identifier of the access profile.
    profileType "SERVICE_MANAGED" | "CUSTOMER_MANAGED"
    Whether the access profile is managed by the service or by the customer.
    updatedAt String
    The time the access profile was last updated.

    Look up Existing AccessProfile Resource

    Get an existing AccessProfile 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>, opts?: CustomResourceOptions): AccessProfile
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None) -> AccessProfile
    func GetAccessProfile(ctx *Context, name string, id IDInput, state *AccessProfileState, opts ...ResourceOption) (*AccessProfile, error)
    public static AccessProfile Get(string name, Input<string> id, CustomResourceOptions? opts = null)
    public static AccessProfile get(String name, Output<String> id, CustomResourceOptions options)
    resources:  existingAccessProfile:    type: aws-native:cloudwatch:AccessProfile    get:      id: ${id}
    import {
      to = aws-native_cloudwatch_access_profile.example
      id = "${id}"
    }
    
    name string
    The unique name of the resulting resource.
    id Input<ID>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resulting resource.
    id str
    The unique provider ID of the resource to look up.
    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 resulting resource.
    id IDInput
    The unique provider ID of the resource to look up.
    state AccessProfileState
    Pass nil. This resource has no state arguments.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resulting resource.
    id Input<string>
    The unique provider ID of the resource to look up.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resulting resource.
    id Output<String>
    The unique provider ID of the resource to look up.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Supporting Types

    AccessProfileAssumeStatus

    Whether the calling principal is authorized to assume the access profile.

    NameValue
    AllowedALLOWED
    DeniedDENIED
    NameValue
    AccessProfileAssumeStatusAllowedALLOWED
    AccessProfileAssumeStatusDeniedDENIED
    Value
    ALLOWED
    DENIED
    NameValue
    AllowedALLOWED
    DeniedDENIED
    NameValue
    AllowedALLOWED
    DeniedDENIED
    NameValue
    ALLOWEDALLOWED
    DENIEDDENIED
    Value
    ALLOWED
    DENIED

    AccessProfileProfileType

    Whether the access profile is managed by the service or by the customer.

    NameValue
    ServiceManagedSERVICE_MANAGED
    CustomerManagedCUSTOMER_MANAGED
    NameValue
    AccessProfileProfileTypeServiceManagedSERVICE_MANAGED
    AccessProfileProfileTypeCustomerManagedCUSTOMER_MANAGED
    Value
    SERVICE_MANAGED
    CUSTOMER_MANAGED
    NameValue
    ServiceManagedSERVICE_MANAGED
    CustomerManagedCUSTOMER_MANAGED
    NameValue
    ServiceManagedSERVICE_MANAGED
    CustomerManagedCUSTOMER_MANAGED
    NameValue
    SERVICE_MANAGEDSERVICE_MANAGED
    CUSTOMER_MANAGEDCUSTOMER_MANAGED
    Value
    SERVICE_MANAGED
    CUSTOMER_MANAGED

    Tag, TagArgs

    A set of tags to apply to the resource.

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo aws-native logo AWS Cloud Control

    We recommend new projects start with resources from the AWS provider.

    Viewing docs for AWS Cloud Control v1.86.0
    published on Wednesday, Nov 18, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial