We recommend new projects start with resources from the AWS provider.
aws-native.bedrockagentcore.WorkloadIdentity
We recommend new projects start with resources from the AWS provider.
Definition of AWS::BedrockAgentCore::WorkloadIdentity Resource Type
Create WorkloadIdentity Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WorkloadIdentity(name: string, args?: WorkloadIdentityArgs, opts?: CustomResourceOptions);@overload
def WorkloadIdentity(resource_name: str,
args: Optional[WorkloadIdentityArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def WorkloadIdentity(resource_name: str,
opts: Optional[ResourceOptions] = None,
allowed_resource_oauth2_return_urls: Optional[Sequence[str]] = None,
name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewWorkloadIdentity(ctx *Context, name string, args *WorkloadIdentityArgs, opts ...ResourceOption) (*WorkloadIdentity, error)public WorkloadIdentity(string name, WorkloadIdentityArgs? args = null, CustomResourceOptions? opts = null)
public WorkloadIdentity(String name, WorkloadIdentityArgs args)
public WorkloadIdentity(String name, WorkloadIdentityArgs args, CustomResourceOptions options)
type: aws-native:bedrockagentcore:WorkloadIdentity
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 WorkloadIdentityArgs
- 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 WorkloadIdentityArgs
- 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 WorkloadIdentityArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args WorkloadIdentityArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args WorkloadIdentityArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
WorkloadIdentity 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 WorkloadIdentity resource accepts the following input properties:
- Allowed
Resource List<string>Oauth2Return Urls - The list of allowed OAuth2 return URLs for resources associated with this workload identity.
- Name string
- The name of the workload identity. The name must be unique within your account.
-
List<Pulumi.
Aws Native. Inputs. Tag> - An array of key-value pairs to apply to this resource.
- Allowed
Resource []stringOauth2Return Urls - The list of allowed OAuth2 return URLs for resources associated with this workload identity.
- Name string
- The name of the workload identity. The name must be unique within your account.
-
Tag
Args - An array of key-value pairs to apply to this resource.
- allowed
Resource List<String>Oauth2Return Urls - The list of allowed OAuth2 return URLs for resources associated with this workload identity.
- name String
- The name of the workload identity. The name must be unique within your account.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- allowed
Resource string[]Oauth2Return Urls - The list of allowed OAuth2 return URLs for resources associated with this workload identity.
- name string
- The name of the workload identity. The name must be unique within your account.
- Tag[]
- An array of key-value pairs to apply to this resource.
- allowed_
resource_ Sequence[str]oauth2_ return_ urls - The list of allowed OAuth2 return URLs for resources associated with this workload identity.
- name str
- The name of the workload identity. The name must be unique within your account.
-
Sequence[Tag
Args] - An array of key-value pairs to apply to this resource.
- allowed
Resource List<String>Oauth2Return Urls - The list of allowed OAuth2 return URLs for resources associated with this workload identity.
- name String
- The name of the workload identity. The name must be unique within your account.
- 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 WorkloadIdentity resource produces the following output properties:
- Created
Time double - The timestamp when the workload identity was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated doubleTime - The timestamp when the workload identity was last updated.
- Workload
Identity stringArn - The Amazon Resource Name (ARN) of the workload identity.
- Created
Time float64 - The timestamp when the workload identity was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Last
Updated float64Time - The timestamp when the workload identity was last updated.
- Workload
Identity stringArn - The Amazon Resource Name (ARN) of the workload identity.
- created
Time Double - The timestamp when the workload identity was created.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated DoubleTime - The timestamp when the workload identity was last updated.
- workload
Identity StringArn - The Amazon Resource Name (ARN) of the workload identity.
- created
Time number - The timestamp when the workload identity was created.
- id string
- The provider-assigned unique ID for this managed resource.
- last
Updated numberTime - The timestamp when the workload identity was last updated.
- workload
Identity stringArn - The Amazon Resource Name (ARN) of the workload identity.
- created_
time float - The timestamp when the workload identity was created.
- id str
- The provider-assigned unique ID for this managed resource.
- last_
updated_ floattime - The timestamp when the workload identity was last updated.
- workload_
identity_ strarn - The Amazon Resource Name (ARN) of the workload identity.
- created
Time Number - The timestamp when the workload identity was created.
- id String
- The provider-assigned unique ID for this managed resource.
- last
Updated NumberTime - The timestamp when the workload identity was last updated.
- workload
Identity StringArn - The Amazon Resource Name (ARN) of the workload identity.
Supporting Types
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.
