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

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

    Using getAccessProfile

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getAccessProfile(args: GetAccessProfileArgs, opts?: InvokeOptions): Promise<GetAccessProfileResult>
    function getAccessProfileOutput(args: GetAccessProfileOutputArgs, opts?: InvokeOutputOptions): Output<GetAccessProfileResult>
    def get_access_profile(profile_id: Optional[str] = None,
                           space_id: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetAccessProfileResult
    def get_access_profile_output(profile_id: pulumi.Input[Optional[str]] = None,
                           space_id: pulumi.Input[Optional[str]] = None,
                           opts: Optional[InvokeOutputOptions] = None) -> Output[GetAccessProfileResult]
    func LookupAccessProfile(ctx *Context, args *LookupAccessProfileArgs, opts ...InvokeOption) (*LookupAccessProfileResult, error)
    func LookupAccessProfileOutput(ctx *Context, args *LookupAccessProfileOutputArgs, opts ...InvokeOption) LookupAccessProfileResultOutput

    > Note: This function is named LookupAccessProfile in the Go SDK.

    public static class GetAccessProfile 
    {
        public static Task<GetAccessProfileResult> InvokeAsync(GetAccessProfileArgs args, InvokeOptions? opts = null)
        public static Output<GetAccessProfileResult> Invoke(GetAccessProfileInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetAccessProfileResult> Invoke(GetAccessProfileInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetAccessProfileResult> getAccessProfile(GetAccessProfileArgs args, InvokeOptions options)
    public static Output<GetAccessProfileResult> getAccessProfile(GetAccessProfileArgs args, InvokeOptions options)
    public static Output<GetAccessProfileResult> getAccessProfile(GetAccessProfileArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: aws-native:cloudwatch:getAccessProfile
      arguments:
        # arguments dictionary
    data "aws-native_cloudwatch_get_access_profile" "name" {
        # arguments
    }

    The following arguments are supported:

    ProfileId string
    The unique identifier of the access profile.
    SpaceId string
    The unique identifier of the space the access profile belongs to.
    ProfileId string
    The unique identifier of the access profile.
    SpaceId string
    The unique identifier of the space the access profile belongs to.
    profile_id string
    The unique identifier of the access profile.
    space_id string
    The unique identifier of the space the access profile belongs to.
    profileId String
    The unique identifier of the access profile.
    spaceId String
    The unique identifier of the space the access profile belongs to.
    profileId string
    The unique identifier of the access profile.
    spaceId string
    The unique identifier of the space the access profile belongs to.
    profile_id str
    The unique identifier of the access profile.
    space_id str
    The unique identifier of the space the access profile belongs to.
    profileId String
    The unique identifier of the access profile.
    spaceId String
    The unique identifier of the space the access profile belongs to.

    getAccessProfile Result

    The following output properties are available:

    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.
    Description string
    The description of the access profile.
    Name string
    The name of the access profile.
    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.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    An array of key-value pairs to apply to this resource.
    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.
    Description string
    The description of the access profile.
    Name string
    The name of the access profile.
    ProfileId string
    The unique identifier of the access profile.
    ProfileType AccessProfileProfileType
    Whether the access profile is managed by the service or by the customer.
    Tags Tag
    An array of key-value pairs to apply to this resource.
    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.
    description string
    The description of the access profile.
    name string
    The name of the access profile.
    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.
    tags list(object)
    An array of key-value pairs to apply to this resource.
    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.
    description String
    The description of the access profile.
    name String
    The name of the access profile.
    profileId String
    The unique identifier of the access profile.
    profileType AccessProfileProfileType
    Whether the access profile is managed by the service or by the customer.
    tags List<Tag>
    An array of key-value pairs to apply to this resource.
    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.
    description string
    The description of the access profile.
    name string
    The name of the access profile.
    profileId string
    The unique identifier of the access profile.
    profileType AccessProfileProfileType
    Whether the access profile is managed by the service or by the customer.
    tags Tag[]
    An array of key-value pairs to apply to this resource.
    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.
    description str
    The description of the access profile.
    name str
    The name of the access profile.
    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.
    tags Sequence[root_Tag]
    An array of key-value pairs to apply to this resource.
    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.
    description String
    The description of the access profile.
    name String
    The name of the access profile.
    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.
    tags List<Property Map>
    An array of key-value pairs to apply to this resource.
    updatedAt String
    The time the access profile was last updated.

    Supporting Types

    AccessProfileAssumeStatus

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

    AccessProfileProfileType

    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

    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