We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
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:
- 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.
-
List<Pulumi.
Aws Native. Inputs. Tag> - 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.
-
Tag
Args - 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.
- list(object)
- 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.
- List<Tag>
- 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.
- 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.
-
Sequence[Tag
Args] - 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.
- 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.
- Assume
Status Pulumi.Aws Native. Cloud Watch. Access Profile Assume Status - 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 Pulumi.Aws Native. Cloud Watch. Access Profile Profile Type - 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.
- Assume
Status AccessProfile Assume Status - 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 AccessProfile Profile Type - 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.
- 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.
- assume
Status AccessProfile Assume Status - 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 AccessProfile Profile Type - 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.
- assume
Status AccessProfile Assume Status - 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 AccessProfile Profile Type - 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 str
- The Amazon Resource Name (ARN) of the access profile.
- assume_
status AccessProfile Assume Status - 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 AccessProfile Profile Type - 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.
- 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.
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) -> AccessProfilefunc 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.
| Name | Value |
|---|---|
| Allowed | ALLOWED |
| Denied | DENIED |
| Name | Value |
|---|---|
| Access | ALLOWED |
| Access | DENIED |
| Value |
|---|
ALLOWED |
DENIED |
| Name | Value |
|---|---|
| Allowed | ALLOWED |
| Denied | DENIED |
| Name | Value |
|---|---|
| Allowed | ALLOWED |
| Denied | DENIED |
| Name | Value |
|---|---|
| ALLOWED | ALLOWED |
| DENIED | DENIED |
| Value |
|---|
ALLOWED |
DENIED |
AccessProfileProfileType
Whether the access profile is managed by the service or by the customer.
| Name | Value |
|---|---|
| Service | SERVICE_MANAGED |
| Customer | CUSTOMER_MANAGED |
| Name | Value |
|---|---|
| Access | SERVICE_MANAGED |
| Access | CUSTOMER_MANAGED |
| Value |
|---|
SERVICE_MANAGED |
CUSTOMER_MANAGED |
| Name | Value |
|---|---|
| Service | SERVICE_MANAGED |
| Customer | CUSTOMER_MANAGED |
| Name | Value |
|---|---|
| Service | SERVICE_MANAGED |
| Customer | CUSTOMER_MANAGED |
| Name | Value |
|---|---|
| SERVICE_MANAGED | SERVICE_MANAGED |
| CUSTOMER_MANAGED | CUSTOMER_MANAGED |
| Value |
|---|
SERVICE_MANAGED |
CUSTOMER_MANAGED |
Tag, TagArgs
A set of tags to apply to the resource.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi