create_workload_identity¶
Operation¶
create_workload_identity
async
¶
create_workload_identity(input: CreateWorkloadIdentityInput, plugins: list[Plugin] | None = None) -> CreateWorkloadIdentityOutput
Creates a new workload identity.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
input
|
CreateWorkloadIdentityInput
|
An instance of |
required |
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
CreateWorkloadIdentityOutput
|
An instance of |
Input¶
CreateWorkloadIdentityInput
dataclass
¶
Dataclass for CreateWorkloadIdentityInput structure.
Attributes¶
allowed_resource_oauth2_return_urls
class-attribute
instance-attribute
¶
allowed_resource_oauth2_return_urls: list[str] | None = None
The list of allowed OAuth2 return URLs for resources associated with this workload identity.
name
class-attribute
instance-attribute
¶
name: str | None = None
The name of the workload identity. The name must be unique within your account.
tags
class-attribute
instance-attribute
¶
tags: dict[str, str] | None = None
A map of tag keys and values to assign to the workload identity. Tags enable you to categorize your resources in different ways, for example, by purpose, owner, or environment.
Output¶
CreateWorkloadIdentityOutput
dataclass
¶
Dataclass for CreateWorkloadIdentityOutput structure.
Attributes¶
allowed_resource_oauth2_return_urls
class-attribute
instance-attribute
¶
allowed_resource_oauth2_return_urls: list[str] | None = None
The list of allowed OAuth2 return URLs for resources associated with this workload identity.
workload_identity_arn
instance-attribute
¶
workload_identity_arn: str
The Amazon Resource Name (ARN) of the workload identity.