Class CfnAgentAlias
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.bedrock.CfnAgentAlias
- All Implemented Interfaces:
IInspectable
,ITaggableV2
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)",
date="2024-07-05T20:26:27.748Z")
@Stability(Stable)
public class CfnAgentAlias
extends CfnResource
implements IInspectable, ITaggableV2
Specifies an agent alias as a resource in a top-level template. Minimally, you must specify the following properties:.
- AgentAliasName – Specify a name for the alias.
For more information about creating aliases for an agent in Amazon Bedrock , see Deploy an Amazon Bedrock agent .
See the Properties section below for descriptions of both the required and optional properties.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.bedrock.*; CfnAgentAlias cfnAgentAlias = CfnAgentAlias.Builder.create(this, "MyCfnAgentAlias") .agentAliasName("agentAliasName") .agentId("agentId") // the properties below are optional .description("description") .routingConfiguration(List.of(AgentAliasRoutingConfigurationListItemProperty.builder() .agentVersion("agentVersion") .build())) .tags(Map.of( "tagsKey", "tags")) .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
Contains details about the history of the alias.static interface
Contains details about the routing configuration of the alias.static final class
A fluent builder forCfnAgentAlias
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Nested classes/interfaces inherited from interface software.amazon.awscdk.ITaggableV2
ITaggableV2.Jsii$Default, ITaggableV2.Jsii$Proxy
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
CfnAgentAlias
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnAgentAlias
(software.amazon.jsii.JsiiObjectRef objRef) CfnAgentAlias
(software.constructs.Construct scope, String id, CfnAgentAliasProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe name of the alias of the agent.The unique identifier of the agent.The Amazon Resource Name (ARN) of the alias of the agent.Contains details about the history of the alias.The unique identifier of the alias of the agent.The status of the alias of the agent and whether it is ready for use.The time at which the alias of the agent was created.The time at which the alias was last updated.Tag Manager which manages the tags for this resource.The description of the alias of the agent.Contains details about the routing configuration of the alias.getTags()
Metadata that you can assign to a resource as key-value pairs.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties
(Map<String, Object> props) void
setAgentAliasName
(String value) The name of the alias of the agent.void
setAgentId
(String value) The unique identifier of the agent.void
setDescription
(String value) The description of the alias of the agent.void
setRoutingConfiguration
(List<Object> value) Contains details about the routing configuration of the alias.void
Contains details about the routing configuration of the alias.void
Metadata that you can assign to a resource as key-value pairs.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnAgentAlias
protected CfnAgentAlias(software.amazon.jsii.JsiiObjectRef objRef) -
CfnAgentAlias
protected CfnAgentAlias(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnAgentAlias
@Stability(Stable) public CfnAgentAlias(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnAgentAliasProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrAgentAliasArn
The Amazon Resource Name (ARN) of the alias of the agent. -
getAttrAgentAliasHistoryEvents
Contains details about the history of the alias. -
getAttrAgentAliasId
The unique identifier of the alias of the agent. -
getAttrAgentAliasStatus
The status of the alias of the agent and whether it is ready for use.The following statuses are possible:
- CREATING – The agent alias is being created.
- PREPARED – The agent alias is finished being created or updated and is ready to be invoked.
- FAILED – The agent alias API operation failed.
- UPDATING – The agent alias is being updated.
- DELETING – The agent alias is being deleted.
-
getAttrCreatedAt
The time at which the alias of the agent was created. -
getAttrUpdatedAt
The time at which the alias was last updated. -
getCdkTagManager
Tag Manager which manages the tags for this resource.- Specified by:
getCdkTagManager
in interfaceITaggableV2
-
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getAgentAliasName
The name of the alias of the agent. -
setAgentAliasName
The name of the alias of the agent. -
getAgentId
The unique identifier of the agent. -
setAgentId
The unique identifier of the agent. -
getDescription
The description of the alias of the agent. -
setDescription
The description of the alias of the agent. -
getRoutingConfiguration
Contains details about the routing configuration of the alias. -
setRoutingConfiguration
Contains details about the routing configuration of the alias. -
setRoutingConfiguration
Contains details about the routing configuration of the alias. -
getTags
Metadata that you can assign to a resource as key-value pairs.For more information, see the following resources:.
-
setTags
Metadata that you can assign to a resource as key-value pairs.For more information, see the following resources:.
-