Documentation
¶
Index ¶
- func CfnBrowserCustom_CFN_RESOURCE_TYPE_NAME() *string
- func CfnBrowserCustom_FromBrowserId(scope constructs.Construct, id *string, browserId *string) interfacesawsbedrockagentcore.IBrowserCustomRef
- func CfnBrowserCustom_IsCfnElement(x interface{}) *bool
- func CfnBrowserCustom_IsCfnResource(x interface{}) *bool
- func CfnBrowserCustom_IsConstruct(x interface{}) *bool
- func CfnCodeInterpreterCustom_CFN_RESOURCE_TYPE_NAME() *string
- func CfnCodeInterpreterCustom_FromCodeInterpreterId(scope constructs.Construct, id *string, codeInterpreterId *string) interfacesawsbedrockagentcore.ICodeInterpreterCustomRef
- func CfnCodeInterpreterCustom_IsCfnElement(x interface{}) *bool
- func CfnCodeInterpreterCustom_IsCfnResource(x interface{}) *bool
- func CfnCodeInterpreterCustom_IsConstruct(x interface{}) *bool
- func CfnGatewayTarget_CFN_RESOURCE_TYPE_NAME() *string
- func CfnGatewayTarget_IsCfnElement(x interface{}) *bool
- func CfnGatewayTarget_IsCfnResource(x interface{}) *bool
- func CfnGatewayTarget_IsConstruct(x interface{}) *bool
- func CfnGateway_CFN_RESOURCE_TYPE_NAME() *string
- func CfnGateway_IsCfnElement(x interface{}) *bool
- func CfnGateway_IsCfnResource(x interface{}) *bool
- func CfnGateway_IsConstruct(x interface{}) *bool
- func CfnMemory_CFN_RESOURCE_TYPE_NAME() *string
- func CfnMemory_IsCfnElement(x interface{}) *bool
- func CfnMemory_IsCfnResource(x interface{}) *bool
- func CfnMemory_IsConstruct(x interface{}) *bool
- func CfnRuntimeEndpoint_CFN_RESOURCE_TYPE_NAME() *string
- func CfnRuntimeEndpoint_IsCfnElement(x interface{}) *bool
- func CfnRuntimeEndpoint_IsCfnResource(x interface{}) *bool
- func CfnRuntimeEndpoint_IsConstruct(x interface{}) *bool
- func CfnRuntime_CFN_RESOURCE_TYPE_NAME() *string
- func CfnRuntime_IsCfnElement(x interface{}) *bool
- func CfnRuntime_IsCfnResource(x interface{}) *bool
- func CfnRuntime_IsConstruct(x interface{}) *bool
- func CfnWorkloadIdentity_CFN_RESOURCE_TYPE_NAME() *string
- func CfnWorkloadIdentity_IsCfnElement(x interface{}) *bool
- func CfnWorkloadIdentity_IsCfnResource(x interface{}) *bool
- func CfnWorkloadIdentity_IsConstruct(x interface{}) *bool
- func NewCfnBrowserCustom_Override(c CfnBrowserCustom, scope constructs.Construct, id *string, ...)
- func NewCfnCodeInterpreterCustom_Override(c CfnCodeInterpreterCustom, scope constructs.Construct, id *string, ...)
- func NewCfnGatewayTarget_Override(c CfnGatewayTarget, scope constructs.Construct, id *string, ...)
- func NewCfnGateway_Override(c CfnGateway, scope constructs.Construct, id *string, props *CfnGatewayProps)
- func NewCfnMemory_Override(c CfnMemory, scope constructs.Construct, id *string, props *CfnMemoryProps)
- func NewCfnRuntimeEndpoint_Override(c CfnRuntimeEndpoint, scope constructs.Construct, id *string, ...)
- func NewCfnRuntime_Override(c CfnRuntime, scope constructs.Construct, id *string, props *CfnRuntimeProps)
- func NewCfnWorkloadIdentity_Override(c CfnWorkloadIdentity, scope constructs.Construct, id *string, ...)
- type CfnBrowserCustom
- type CfnBrowserCustomProps
- type CfnBrowserCustom_BrowserNetworkConfigurationProperty
- type CfnBrowserCustom_BrowserSigningProperty
- type CfnBrowserCustom_RecordingConfigProperty
- type CfnBrowserCustom_S3LocationProperty
- type CfnBrowserCustom_VpcConfigProperty
- type CfnCodeInterpreterCustom
- type CfnCodeInterpreterCustomProps
- type CfnCodeInterpreterCustom_CodeInterpreterNetworkConfigurationProperty
- type CfnCodeInterpreterCustom_VpcConfigProperty
- type CfnGateway
- type CfnGatewayProps
- type CfnGatewayTarget
- type CfnGatewayTargetProps
- type CfnGatewayTarget_ApiKeyCredentialProviderProperty
- type CfnGatewayTarget_ApiSchemaConfigurationProperty
- type CfnGatewayTarget_CredentialProviderConfigurationProperty
- type CfnGatewayTarget_CredentialProviderProperty
- type CfnGatewayTarget_McpLambdaTargetConfigurationProperty
- type CfnGatewayTarget_McpServerTargetConfigurationProperty
- type CfnGatewayTarget_McpTargetConfigurationProperty
- type CfnGatewayTarget_OAuthCredentialProviderProperty
- type CfnGatewayTarget_S3ConfigurationProperty
- type CfnGatewayTarget_SchemaDefinitionProperty
- type CfnGatewayTarget_TargetConfigurationProperty
- type CfnGatewayTarget_ToolDefinitionProperty
- type CfnGatewayTarget_ToolSchemaProperty
- type CfnGateway_AuthorizerConfigurationProperty
- type CfnGateway_CustomJWTAuthorizerConfigurationProperty
- type CfnGateway_GatewayProtocolConfigurationProperty
- type CfnGateway_MCPGatewayConfigurationProperty
- type CfnGateway_WorkloadIdentityDetailsProperty
- type CfnMemory
- type CfnMemoryProps
- type CfnMemory_CustomConfigurationInputProperty
- type CfnMemory_CustomMemoryStrategyProperty
- type CfnMemory_InvocationConfigurationInputProperty
- type CfnMemory_MemoryStrategyProperty
- type CfnMemory_MessageBasedTriggerInputProperty
- type CfnMemory_SelfManagedConfigurationProperty
- type CfnMemory_SemanticMemoryStrategyProperty
- type CfnMemory_SemanticOverrideConsolidationConfigurationInputProperty
- type CfnMemory_SemanticOverrideExtractionConfigurationInputProperty
- type CfnMemory_SemanticOverrideProperty
- type CfnMemory_SummaryMemoryStrategyProperty
- type CfnMemory_SummaryOverrideConsolidationConfigurationInputProperty
- type CfnMemory_SummaryOverrideProperty
- type CfnMemory_TimeBasedTriggerInputProperty
- type CfnMemory_TokenBasedTriggerInputProperty
- type CfnMemory_TriggerConditionInputProperty
- type CfnMemory_UserPreferenceMemoryStrategyProperty
- type CfnMemory_UserPreferenceOverrideConsolidationConfigurationInputProperty
- type CfnMemory_UserPreferenceOverrideExtractionConfigurationInputProperty
- type CfnMemory_UserPreferenceOverrideProperty
- type CfnRuntime
- type CfnRuntimeEndpoint
- type CfnRuntimeEndpointProps
- type CfnRuntimeProps
- type CfnRuntime_AgentRuntimeArtifactProperty
- type CfnRuntime_AuthorizerConfigurationProperty
- type CfnRuntime_CodeConfigurationProperty
- type CfnRuntime_CodeProperty
- type CfnRuntime_ContainerConfigurationProperty
- type CfnRuntime_CustomJWTAuthorizerConfigurationProperty
- type CfnRuntime_LifecycleConfigurationProperty
- type CfnRuntime_NetworkConfigurationProperty
- type CfnRuntime_RequestHeaderConfigurationProperty
- type CfnRuntime_S3LocationProperty
- type CfnRuntime_VpcConfigProperty
- type CfnRuntime_WorkloadIdentityDetailsProperty
- type CfnWorkloadIdentity
- type CfnWorkloadIdentityProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CfnBrowserCustom_CFN_RESOURCE_TYPE_NAME ¶
func CfnBrowserCustom_CFN_RESOURCE_TYPE_NAME() *string
func CfnBrowserCustom_FromBrowserId ¶ added in v2.219.0
func CfnBrowserCustom_FromBrowserId(scope constructs.Construct, id *string, browserId *string) interfacesawsbedrockagentcore.IBrowserCustomRef
Creates a new IBrowserCustomRef from a browserId.
func CfnBrowserCustom_IsCfnElement ¶
func CfnBrowserCustom_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnBrowserCustom_IsCfnResource ¶
func CfnBrowserCustom_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnBrowserCustom_IsConstruct ¶
func CfnBrowserCustom_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnCodeInterpreterCustom_CFN_RESOURCE_TYPE_NAME ¶
func CfnCodeInterpreterCustom_CFN_RESOURCE_TYPE_NAME() *string
func CfnCodeInterpreterCustom_FromCodeInterpreterId ¶ added in v2.219.0
func CfnCodeInterpreterCustom_FromCodeInterpreterId(scope constructs.Construct, id *string, codeInterpreterId *string) interfacesawsbedrockagentcore.ICodeInterpreterCustomRef
Creates a new ICodeInterpreterCustomRef from a codeInterpreterId.
func CfnCodeInterpreterCustom_IsCfnElement ¶
func CfnCodeInterpreterCustom_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnCodeInterpreterCustom_IsCfnResource ¶
func CfnCodeInterpreterCustom_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnCodeInterpreterCustom_IsConstruct ¶
func CfnCodeInterpreterCustom_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnGatewayTarget_CFN_RESOURCE_TYPE_NAME ¶ added in v2.220.0
func CfnGatewayTarget_CFN_RESOURCE_TYPE_NAME() *string
func CfnGatewayTarget_IsCfnElement ¶ added in v2.220.0
func CfnGatewayTarget_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnGatewayTarget_IsCfnResource ¶ added in v2.220.0
func CfnGatewayTarget_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnGatewayTarget_IsConstruct ¶ added in v2.220.0
func CfnGatewayTarget_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnGateway_CFN_RESOURCE_TYPE_NAME ¶ added in v2.220.0
func CfnGateway_CFN_RESOURCE_TYPE_NAME() *string
func CfnGateway_IsCfnElement ¶ added in v2.220.0
func CfnGateway_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnGateway_IsCfnResource ¶ added in v2.220.0
func CfnGateway_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnGateway_IsConstruct ¶ added in v2.220.0
func CfnGateway_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnMemory_CFN_RESOURCE_TYPE_NAME ¶ added in v2.220.0
func CfnMemory_CFN_RESOURCE_TYPE_NAME() *string
func CfnMemory_IsCfnElement ¶ added in v2.220.0
func CfnMemory_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnMemory_IsCfnResource ¶ added in v2.220.0
func CfnMemory_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnMemory_IsConstruct ¶ added in v2.220.0
func CfnMemory_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnRuntimeEndpoint_CFN_RESOURCE_TYPE_NAME ¶
func CfnRuntimeEndpoint_CFN_RESOURCE_TYPE_NAME() *string
func CfnRuntimeEndpoint_IsCfnElement ¶
func CfnRuntimeEndpoint_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnRuntimeEndpoint_IsCfnResource ¶
func CfnRuntimeEndpoint_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnRuntimeEndpoint_IsConstruct ¶
func CfnRuntimeEndpoint_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnRuntime_CFN_RESOURCE_TYPE_NAME ¶
func CfnRuntime_CFN_RESOURCE_TYPE_NAME() *string
func CfnRuntime_IsCfnElement ¶
func CfnRuntime_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnRuntime_IsCfnResource ¶
func CfnRuntime_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnRuntime_IsConstruct ¶
func CfnRuntime_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func CfnWorkloadIdentity_CFN_RESOURCE_TYPE_NAME ¶ added in v2.224.0
func CfnWorkloadIdentity_CFN_RESOURCE_TYPE_NAME() *string
func CfnWorkloadIdentity_IsCfnElement ¶ added in v2.224.0
func CfnWorkloadIdentity_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnWorkloadIdentity_IsCfnResource ¶ added in v2.224.0
func CfnWorkloadIdentity_IsCfnResource(x interface{}) *bool
Check whether the given object is a CfnResource.
func CfnWorkloadIdentity_IsConstruct ¶ added in v2.224.0
func CfnWorkloadIdentity_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`.
func NewCfnBrowserCustom_Override ¶
func NewCfnBrowserCustom_Override(c CfnBrowserCustom, scope constructs.Construct, id *string, props *CfnBrowserCustomProps)
Create a new `AWS::BedrockAgentCore::BrowserCustom`.
func NewCfnCodeInterpreterCustom_Override ¶
func NewCfnCodeInterpreterCustom_Override(c CfnCodeInterpreterCustom, scope constructs.Construct, id *string, props *CfnCodeInterpreterCustomProps)
Create a new `AWS::BedrockAgentCore::CodeInterpreterCustom`.
func NewCfnGatewayTarget_Override ¶ added in v2.220.0
func NewCfnGatewayTarget_Override(c CfnGatewayTarget, scope constructs.Construct, id *string, props *CfnGatewayTargetProps)
Create a new `AWS::BedrockAgentCore::GatewayTarget`.
func NewCfnGateway_Override ¶ added in v2.220.0
func NewCfnGateway_Override(c CfnGateway, scope constructs.Construct, id *string, props *CfnGatewayProps)
Create a new `AWS::BedrockAgentCore::Gateway`.
func NewCfnMemory_Override ¶ added in v2.220.0
func NewCfnMemory_Override(c CfnMemory, scope constructs.Construct, id *string, props *CfnMemoryProps)
Create a new `AWS::BedrockAgentCore::Memory`.
func NewCfnRuntimeEndpoint_Override ¶
func NewCfnRuntimeEndpoint_Override(c CfnRuntimeEndpoint, scope constructs.Construct, id *string, props *CfnRuntimeEndpointProps)
Create a new `AWS::BedrockAgentCore::RuntimeEndpoint`.
func NewCfnRuntime_Override ¶
func NewCfnRuntime_Override(c CfnRuntime, scope constructs.Construct, id *string, props *CfnRuntimeProps)
Create a new `AWS::BedrockAgentCore::Runtime`.
func NewCfnWorkloadIdentity_Override ¶ added in v2.224.0
func NewCfnWorkloadIdentity_Override(c CfnWorkloadIdentity, scope constructs.Construct, id *string, props *CfnWorkloadIdentityProps)
Create a new `AWS::BedrockAgentCore::WorkloadIdentity`.
Types ¶
type CfnBrowserCustom ¶
type CfnBrowserCustom interface {
awscdk.CfnResource
awscdk.IInspectable
interfacesawsbedrockagentcore.IBrowserCustomRef
awscdk.ITaggableV2
// The ARN for the custom browser.
AttrBrowserArn() *string
// The ID for the custom browser.
AttrBrowserId() *string
// The time at which the custom browser was created.
AttrCreatedAt() *string
// The reason for failure if the browser creation or operation failed.
AttrFailureReason() *string
// The time at which the custom browser was last updated.
AttrLastUpdatedAt() *string
// The status of the custom browser.
AttrStatus() *string
// A reference to a BrowserCustom resource.
BrowserCustomRef() *interfacesawsbedrockagentcore.BrowserCustomReference
// Browser signing configuration.
BrowserSigning() interface{}
SetBrowserSigning(val interface{})
// Tag Manager which manages the tags for this resource.
CdkTagManager() awscdk.TagManager
// Options for this resource, such as condition, update policy etc.
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
// AWS resource type.
CfnResourceType() *string
// Returns: the stack trace of the point where this Resource was created from, sourced
// from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most
// node +internal+ entries filtered.
CreationStack() *[]*string
// The custom browser.
Description() *string
SetDescription(val *string)
Env() *interfaces.ResourceEnvironment
// The Amazon Resource Name (ARN) of the execution role.
ExecutionRoleArn() *string
SetExecutionRoleArn(val *string)
// The logical ID for this CloudFormation stack element.
//
// The logical ID of the element
// is calculated from the path of the resource node in the construct tree.
//
// To override this value, use `overrideLogicalId(newLogicalId)`.
//
// Returns: the logical ID as a stringified token. This value will only get
// resolved during synthesis.
LogicalId() *string
// The name of the custom browser.
Name() *string
SetName(val *string)
// The network configuration for a code interpreter.
NetworkConfiguration() interface{}
SetNetworkConfiguration(val interface{})
// The tree node.
Node() constructs.Node
// THe custom browser configuration.
RecordingConfig() interface{}
SetRecordingConfig(val interface{})
// Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
//
// If, by any chance, the intrinsic reference of a resource is not a string, you could
// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
Ref() *string
// The stack in which this element is defined.
//
// CfnElements must be defined within a stack scope (directly or indirectly).
Stack() awscdk.Stack
// The tags for the custom browser.
Tags() *map[string]*string
SetTags(val *map[string]*string)
// Deprecated.
// Deprecated: use `updatedProperties`
//
// Return properties modified after initiation
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperites() *map[string]interface{}
// Return properties modified after initiation.
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperties() *map[string]interface{}
// Syntactic sugar for `addOverride(path, undefined)`.
AddDeletionOverride(path *string)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
//
// This can be used for resources across stacks (or nested stack) boundaries
// and the dependency will automatically be transferred to the relevant scope.
AddDependency(target awscdk.CfnResource)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
// Deprecated: use addDependency.
AddDependsOn(target awscdk.CfnResource)
// Add a value to the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
AddMetadata(key *string, value interface{})
// Adds an override to the synthesized CloudFormation resource.
//
// To add a
// property override, either use `addPropertyOverride` or prefix `path` with
// "Properties." (i.e. `Properties.TopicName`).
//
// If the override is nested, separate each nested level using a dot (.) in the path parameter.
// If there is an array as part of the nesting, specify the index in the path.
//
// To include a literal `.` in the property name, prefix with a `\`. In most
// programming languages you will need to write this as `"\\."` because the
// `\` itself will need to be escaped.
//
// For example,
// “`typescript
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
// “`
// would add the overrides
// “`json
// "Properties": {
// "GlobalSecondaryIndexes": [
// {
// "Projection": {
// "NonKeyAttributes": [ "myattribute" ]
// ...
// }
// ...
// },
// {
// "ProjectionType": "INCLUDE"
// ...
// },
// ]
// ...
// }
// “`
//
// The `value` argument to `addOverride` will not be processed or translated
// in any way. Pass raw JSON values in here with the correct capitalization
// for CloudFormation. If you pass CDK classes or structs, they will be
// rendered with lowercased key names, and CloudFormation will reject the
// template.
AddOverride(path *string, value interface{})
// Adds an override that deletes the value of a property from the resource definition.
AddPropertyDeletionOverride(propertyPath *string)
// Adds an override to a resource property.
//
// Syntactic sugar for `addOverride("Properties.<...>", value)`.
AddPropertyOverride(propertyPath *string, value interface{})
// Sets the deletion policy of the resource based on the removal policy specified.
//
// The Removal Policy controls what happens to this resource when it stops
// being managed by CloudFormation, either because you've removed it from the
// CDK application or because you've made a change that requires the resource
// to be replaced.
//
// The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
// account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some
// cases, a snapshot can be taken of the resource prior to deletion
// (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy
// can be found in the following link:.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options
//
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
// Returns a token for an runtime attribute of this resource.
//
// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
// in case there is no generated attribute.
GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference
// Retrieve a value value from the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
GetMetadata(key *string) interface{}
// Examines the CloudFormation resource and discloses attributes.
Inspect(inspector awscdk.TreeInspector)
// Retrieves an array of resources this resource depends on.
//
// This assembles dependencies on resources across stacks (including nested stacks)
// automatically.
ObtainDependencies() *[]interface{}
// Get a shallow copy of dependencies between this resource and other resources in the same stack.
ObtainResourceDependencies() *[]awscdk.CfnResource
// Overrides the auto-generated logical ID with a specific ID.
OverrideLogicalId(newLogicalId *string)
// Indicates that this resource no longer depends on another resource.
//
// This can be used for resources across stacks (including nested stacks)
// and the dependency will automatically be removed from the relevant scope.
RemoveDependency(target awscdk.CfnResource)
RenderProperties(props *map[string]interface{}) *map[string]interface{}
// Replaces one dependency with another.
ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource)
// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
//
// Returns: `true` if the resource should be included or `false` is the resource
// should be omitted.
ShouldSynthesize() *bool
// Returns a string representation of this construct.
//
// Returns: a string representation of this resource.
ToString() *string
ValidateProperties(_properties interface{})
}
AgentCore Browser tool provides a fast, secure, cloud-based browser runtime to enable AI agents to interact with websites at scale.
For more information about using the custom browser, see [Interact with web applications using Amazon Bedrock AgentCore Browser](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/browser-tool.html) .
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 "github.com/aws/aws-cdk-go/awscdk"
cfnBrowserCustom := awscdk.Aws_bedrockagentcore.NewCfnBrowserCustom(this, jsii.String("MyCfnBrowserCustom"), &CfnBrowserCustomProps{
Name: jsii.String("name"),
NetworkConfiguration: &BrowserNetworkConfigurationProperty{
NetworkMode: jsii.String("networkMode"),
// the properties below are optional
VpcConfig: &VpcConfigProperty{
SecurityGroups: []*string{
jsii.String("securityGroups"),
},
Subnets: []*string{
jsii.String("subnets"),
},
},
},
// the properties below are optional
BrowserSigning: &BrowserSigningProperty{
Enabled: jsii.Boolean(false),
},
Description: jsii.String("description"),
ExecutionRoleArn: jsii.String("executionRoleArn"),
RecordingConfig: &RecordingConfigProperty{
Enabled: jsii.Boolean(false),
S3Location: &S3LocationProperty{
Bucket: jsii.String("bucket"),
Prefix: jsii.String("prefix"),
},
},
Tags: map[string]*string{
"tagsKey": jsii.String("tags"),
},
})
func NewCfnBrowserCustom ¶
func NewCfnBrowserCustom(scope constructs.Construct, id *string, props *CfnBrowserCustomProps) CfnBrowserCustom
Create a new `AWS::BedrockAgentCore::BrowserCustom`.
type CfnBrowserCustomProps ¶
type CfnBrowserCustomProps struct {
// The name of the custom browser.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browsercustom.html#cfn-bedrockagentcore-browsercustom-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The network configuration for a code interpreter.
//
// This structure defines how the code interpreter connects to the network.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browsercustom.html#cfn-bedrockagentcore-browsercustom-networkconfiguration
//
NetworkConfiguration interface{} `field:"required" json:"networkConfiguration" yaml:"networkConfiguration"`
// Browser signing configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browsercustom.html#cfn-bedrockagentcore-browsercustom-browsersigning
//
BrowserSigning interface{} `field:"optional" json:"browserSigning" yaml:"browserSigning"`
// The custom browser.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browsercustom.html#cfn-bedrockagentcore-browsercustom-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
// The Amazon Resource Name (ARN) of the execution role.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browsercustom.html#cfn-bedrockagentcore-browsercustom-executionrolearn
//
ExecutionRoleArn *string `field:"optional" json:"executionRoleArn" yaml:"executionRoleArn"`
// THe custom browser configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browsercustom.html#cfn-bedrockagentcore-browsercustom-recordingconfig
//
RecordingConfig interface{} `field:"optional" json:"recordingConfig" yaml:"recordingConfig"`
// The tags for the custom browser.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-browsercustom.html#cfn-bedrockagentcore-browsercustom-tags
//
Tags *map[string]*string `field:"optional" json:"tags" yaml:"tags"`
}
Properties for defining a `CfnBrowserCustom`.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnBrowserCustomProps := &CfnBrowserCustomProps{
Name: jsii.String("name"),
NetworkConfiguration: &BrowserNetworkConfigurationProperty{
NetworkMode: jsii.String("networkMode"),
// the properties below are optional
VpcConfig: &VpcConfigProperty{
SecurityGroups: []*string{
jsii.String("securityGroups"),
},
Subnets: []*string{
jsii.String("subnets"),
},
},
},
// the properties below are optional
BrowserSigning: &BrowserSigningProperty{
Enabled: jsii.Boolean(false),
},
Description: jsii.String("description"),
ExecutionRoleArn: jsii.String("executionRoleArn"),
RecordingConfig: &RecordingConfigProperty{
Enabled: jsii.Boolean(false),
S3Location: &S3LocationProperty{
Bucket: jsii.String("bucket"),
Prefix: jsii.String("prefix"),
},
},
Tags: map[string]*string{
"tagsKey": jsii.String("tags"),
},
}
type CfnBrowserCustom_BrowserNetworkConfigurationProperty ¶
type CfnBrowserCustom_BrowserNetworkConfigurationProperty struct {
// The network mode.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-browsernetworkconfiguration.html#cfn-bedrockagentcore-browsercustom-browsernetworkconfiguration-networkmode
//
NetworkMode *string `field:"required" json:"networkMode" yaml:"networkMode"`
// Network mode configuration for VPC.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-browsernetworkconfiguration.html#cfn-bedrockagentcore-browsercustom-browsernetworkconfiguration-vpcconfig
//
VpcConfig interface{} `field:"optional" json:"vpcConfig" yaml:"vpcConfig"`
}
The network configuration.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
browserNetworkConfigurationProperty := &BrowserNetworkConfigurationProperty{
NetworkMode: jsii.String("networkMode"),
// the properties below are optional
VpcConfig: &VpcConfigProperty{
SecurityGroups: []*string{
jsii.String("securityGroups"),
},
Subnets: []*string{
jsii.String("subnets"),
},
},
}
type CfnBrowserCustom_BrowserSigningProperty ¶ added in v2.224.0
type CfnBrowserCustom_BrowserSigningProperty struct {
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-browsersigning.html#cfn-bedrockagentcore-browsercustom-browsersigning-enabled
//
// Default: - false.
//
Enabled interface{} `field:"optional" json:"enabled" yaml:"enabled"`
}
Browser signing configuration.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
browserSigningProperty := &BrowserSigningProperty{
Enabled: jsii.Boolean(false),
}
type CfnBrowserCustom_RecordingConfigProperty ¶
type CfnBrowserCustom_RecordingConfigProperty struct {
// The recording configuration for a browser.
//
// This structure defines how browser sessions are recorded.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-recordingconfig.html#cfn-bedrockagentcore-browsercustom-recordingconfig-enabled
//
// Default: - false.
//
Enabled interface{} `field:"optional" json:"enabled" yaml:"enabled"`
// The S3 location.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-recordingconfig.html#cfn-bedrockagentcore-browsercustom-recordingconfig-s3location
//
S3Location interface{} `field:"optional" json:"s3Location" yaml:"s3Location"`
}
The recording configuration.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
recordingConfigProperty := &RecordingConfigProperty{
Enabled: jsii.Boolean(false),
S3Location: &S3LocationProperty{
Bucket: jsii.String("bucket"),
Prefix: jsii.String("prefix"),
},
}
type CfnBrowserCustom_S3LocationProperty ¶
type CfnBrowserCustom_S3LocationProperty struct {
// The S3 location bucket name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-s3location.html#cfn-bedrockagentcore-browsercustom-s3location-bucket
//
Bucket *string `field:"required" json:"bucket" yaml:"bucket"`
// The S3 location object prefix.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-s3location.html#cfn-bedrockagentcore-browsercustom-s3location-prefix
//
Prefix *string `field:"required" json:"prefix" yaml:"prefix"`
}
The S3 location.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
s3LocationProperty := &S3LocationProperty{
Bucket: jsii.String("bucket"),
Prefix: jsii.String("prefix"),
}
type CfnBrowserCustom_VpcConfigProperty ¶ added in v2.220.0
type CfnBrowserCustom_VpcConfigProperty struct {
// Security groups for VPC.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-vpcconfig.html#cfn-bedrockagentcore-browsercustom-vpcconfig-securitygroups
//
SecurityGroups *[]*string `field:"required" json:"securityGroups" yaml:"securityGroups"`
// Subnets for VPC.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-browsercustom-vpcconfig.html#cfn-bedrockagentcore-browsercustom-vpcconfig-subnets
//
Subnets *[]*string `field:"required" json:"subnets" yaml:"subnets"`
}
Network mode configuration for VPC.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
vpcConfigProperty := &VpcConfigProperty{
SecurityGroups: []*string{
jsii.String("securityGroups"),
},
Subnets: []*string{
jsii.String("subnets"),
},
}
type CfnCodeInterpreterCustom ¶
type CfnCodeInterpreterCustom interface {
awscdk.CfnResource
awscdk.IInspectable
interfacesawsbedrockagentcore.ICodeInterpreterCustomRef
awscdk.ITaggableV2
// The code interpreter Amazon Resource Name (ARN).
AttrCodeInterpreterArn() *string
// The ID of the code interpreter.
AttrCodeInterpreterId() *string
// The time at which the code interpreter was created.
AttrCreatedAt() *string
// The reason for failure if the code interpreter creation or operation failed.
AttrFailureReason() *string
// The time at which the code interpreter was last updated.
AttrLastUpdatedAt() *string
// The status of the custom code interpreter.
AttrStatus() *string
// Tag Manager which manages the tags for this resource.
CdkTagManager() awscdk.TagManager
// Options for this resource, such as condition, update policy etc.
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
// AWS resource type.
CfnResourceType() *string
// A reference to a CodeInterpreterCustom resource.
CodeInterpreterCustomRef() *interfacesawsbedrockagentcore.CodeInterpreterCustomReference
// Returns: the stack trace of the point where this Resource was created from, sourced
// from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most
// node +internal+ entries filtered.
CreationStack() *[]*string
// The code interpreter description.
Description() *string
SetDescription(val *string)
Env() *interfaces.ResourceEnvironment
// The Amazon Resource Name (ARN) of the execution role.
ExecutionRoleArn() *string
SetExecutionRoleArn(val *string)
// The logical ID for this CloudFormation stack element.
//
// The logical ID of the element
// is calculated from the path of the resource node in the construct tree.
//
// To override this value, use `overrideLogicalId(newLogicalId)`.
//
// Returns: the logical ID as a stringified token. This value will only get
// resolved during synthesis.
LogicalId() *string
// The name of the code interpreter.
Name() *string
SetName(val *string)
// The network configuration for a code interpreter.
NetworkConfiguration() interface{}
SetNetworkConfiguration(val interface{})
// The tree node.
Node() constructs.Node
// Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
//
// If, by any chance, the intrinsic reference of a resource is not a string, you could
// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
Ref() *string
// The stack in which this element is defined.
//
// CfnElements must be defined within a stack scope (directly or indirectly).
Stack() awscdk.Stack
// The tags for the code interpreter.
Tags() *map[string]*string
SetTags(val *map[string]*string)
// Deprecated.
// Deprecated: use `updatedProperties`
//
// Return properties modified after initiation
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperites() *map[string]interface{}
// Return properties modified after initiation.
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperties() *map[string]interface{}
// Syntactic sugar for `addOverride(path, undefined)`.
AddDeletionOverride(path *string)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
//
// This can be used for resources across stacks (or nested stack) boundaries
// and the dependency will automatically be transferred to the relevant scope.
AddDependency(target awscdk.CfnResource)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
// Deprecated: use addDependency.
AddDependsOn(target awscdk.CfnResource)
// Add a value to the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
AddMetadata(key *string, value interface{})
// Adds an override to the synthesized CloudFormation resource.
//
// To add a
// property override, either use `addPropertyOverride` or prefix `path` with
// "Properties." (i.e. `Properties.TopicName`).
//
// If the override is nested, separate each nested level using a dot (.) in the path parameter.
// If there is an array as part of the nesting, specify the index in the path.
//
// To include a literal `.` in the property name, prefix with a `\`. In most
// programming languages you will need to write this as `"\\."` because the
// `\` itself will need to be escaped.
//
// For example,
// “`typescript
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
// “`
// would add the overrides
// “`json
// "Properties": {
// "GlobalSecondaryIndexes": [
// {
// "Projection": {
// "NonKeyAttributes": [ "myattribute" ]
// ...
// }
// ...
// },
// {
// "ProjectionType": "INCLUDE"
// ...
// },
// ]
// ...
// }
// “`
//
// The `value` argument to `addOverride` will not be processed or translated
// in any way. Pass raw JSON values in here with the correct capitalization
// for CloudFormation. If you pass CDK classes or structs, they will be
// rendered with lowercased key names, and CloudFormation will reject the
// template.
AddOverride(path *string, value interface{})
// Adds an override that deletes the value of a property from the resource definition.
AddPropertyDeletionOverride(propertyPath *string)
// Adds an override to a resource property.
//
// Syntactic sugar for `addOverride("Properties.<...>", value)`.
AddPropertyOverride(propertyPath *string, value interface{})
// Sets the deletion policy of the resource based on the removal policy specified.
//
// The Removal Policy controls what happens to this resource when it stops
// being managed by CloudFormation, either because you've removed it from the
// CDK application or because you've made a change that requires the resource
// to be replaced.
//
// The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
// account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some
// cases, a snapshot can be taken of the resource prior to deletion
// (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy
// can be found in the following link:.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options
//
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
// Returns a token for an runtime attribute of this resource.
//
// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
// in case there is no generated attribute.
GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference
// Retrieve a value value from the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
GetMetadata(key *string) interface{}
// Examines the CloudFormation resource and discloses attributes.
Inspect(inspector awscdk.TreeInspector)
// Retrieves an array of resources this resource depends on.
//
// This assembles dependencies on resources across stacks (including nested stacks)
// automatically.
ObtainDependencies() *[]interface{}
// Get a shallow copy of dependencies between this resource and other resources in the same stack.
ObtainResourceDependencies() *[]awscdk.CfnResource
// Overrides the auto-generated logical ID with a specific ID.
OverrideLogicalId(newLogicalId *string)
// Indicates that this resource no longer depends on another resource.
//
// This can be used for resources across stacks (including nested stacks)
// and the dependency will automatically be removed from the relevant scope.
RemoveDependency(target awscdk.CfnResource)
RenderProperties(props *map[string]interface{}) *map[string]interface{}
// Replaces one dependency with another.
ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource)
// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
//
// Returns: `true` if the resource should be included or `false` is the resource
// should be omitted.
ShouldSynthesize() *bool
// Returns a string representation of this construct.
//
// Returns: a string representation of this resource.
ToString() *string
ValidateProperties(_properties interface{})
}
The AgentCore Code Interpreter tool enables agents to securely execute code in isolated sandbox environments.
It offers advanced configuration support and seamless integration with popular frameworks.
For more information about using the custom code interpreter, see [Execute code and analyze data using Amazon Bedrock AgentCore Code Interpreter](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/code-interpreter-tool.html) .
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 "github.com/aws/aws-cdk-go/awscdk"
cfnCodeInterpreterCustom := awscdk.Aws_bedrockagentcore.NewCfnCodeInterpreterCustom(this, jsii.String("MyCfnCodeInterpreterCustom"), &CfnCodeInterpreterCustomProps{
Name: jsii.String("name"),
NetworkConfiguration: &CodeInterpreterNetworkConfigurationProperty{
NetworkMode: jsii.String("networkMode"),
// the properties below are optional
VpcConfig: &VpcConfigProperty{
SecurityGroups: []*string{
jsii.String("securityGroups"),
},
Subnets: []*string{
jsii.String("subnets"),
},
},
},
// the properties below are optional
Description: jsii.String("description"),
ExecutionRoleArn: jsii.String("executionRoleArn"),
Tags: map[string]*string{
"tagsKey": jsii.String("tags"),
},
})
func NewCfnCodeInterpreterCustom ¶
func NewCfnCodeInterpreterCustom(scope constructs.Construct, id *string, props *CfnCodeInterpreterCustomProps) CfnCodeInterpreterCustom
Create a new `AWS::BedrockAgentCore::CodeInterpreterCustom`.
type CfnCodeInterpreterCustomProps ¶
type CfnCodeInterpreterCustomProps struct {
// The name of the code interpreter.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html#cfn-bedrockagentcore-codeinterpretercustom-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The network configuration for a code interpreter.
//
// This structure defines how the code interpreter connects to the network.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html#cfn-bedrockagentcore-codeinterpretercustom-networkconfiguration
//
NetworkConfiguration interface{} `field:"required" json:"networkConfiguration" yaml:"networkConfiguration"`
// The code interpreter description.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html#cfn-bedrockagentcore-codeinterpretercustom-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
// The Amazon Resource Name (ARN) of the execution role.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html#cfn-bedrockagentcore-codeinterpretercustom-executionrolearn
//
ExecutionRoleArn *string `field:"optional" json:"executionRoleArn" yaml:"executionRoleArn"`
// The tags for the code interpreter.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-codeinterpretercustom.html#cfn-bedrockagentcore-codeinterpretercustom-tags
//
Tags *map[string]*string `field:"optional" json:"tags" yaml:"tags"`
}
Properties for defining a `CfnCodeInterpreterCustom`.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnCodeInterpreterCustomProps := &CfnCodeInterpreterCustomProps{
Name: jsii.String("name"),
NetworkConfiguration: &CodeInterpreterNetworkConfigurationProperty{
NetworkMode: jsii.String("networkMode"),
// the properties below are optional
VpcConfig: &VpcConfigProperty{
SecurityGroups: []*string{
jsii.String("securityGroups"),
},
Subnets: []*string{
jsii.String("subnets"),
},
},
},
// the properties below are optional
Description: jsii.String("description"),
ExecutionRoleArn: jsii.String("executionRoleArn"),
Tags: map[string]*string{
"tagsKey": jsii.String("tags"),
},
}
type CfnCodeInterpreterCustom_CodeInterpreterNetworkConfigurationProperty ¶
type CfnCodeInterpreterCustom_CodeInterpreterNetworkConfigurationProperty struct {
// The network mode.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-codeinterpretercustom-codeinterpreternetworkconfiguration.html#cfn-bedrockagentcore-codeinterpretercustom-codeinterpreternetworkconfiguration-networkmode
//
NetworkMode *string `field:"required" json:"networkMode" yaml:"networkMode"`
// Network mode configuration for VPC.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-codeinterpretercustom-codeinterpreternetworkconfiguration.html#cfn-bedrockagentcore-codeinterpretercustom-codeinterpreternetworkconfiguration-vpcconfig
//
VpcConfig interface{} `field:"optional" json:"vpcConfig" yaml:"vpcConfig"`
}
The network configuration.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
codeInterpreterNetworkConfigurationProperty := &CodeInterpreterNetworkConfigurationProperty{
NetworkMode: jsii.String("networkMode"),
// the properties below are optional
VpcConfig: &VpcConfigProperty{
SecurityGroups: []*string{
jsii.String("securityGroups"),
},
Subnets: []*string{
jsii.String("subnets"),
},
},
}
type CfnCodeInterpreterCustom_VpcConfigProperty ¶ added in v2.220.0
type CfnCodeInterpreterCustom_VpcConfigProperty struct {
// Security groups for VPC.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-codeinterpretercustom-vpcconfig.html#cfn-bedrockagentcore-codeinterpretercustom-vpcconfig-securitygroups
//
SecurityGroups *[]*string `field:"required" json:"securityGroups" yaml:"securityGroups"`
// Subnets for VPC.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-codeinterpretercustom-vpcconfig.html#cfn-bedrockagentcore-codeinterpretercustom-vpcconfig-subnets
//
Subnets *[]*string `field:"required" json:"subnets" yaml:"subnets"`
}
Network mode configuration for VPC.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
vpcConfigProperty := &VpcConfigProperty{
SecurityGroups: []*string{
jsii.String("securityGroups"),
},
Subnets: []*string{
jsii.String("subnets"),
},
}
type CfnGateway ¶ added in v2.220.0
type CfnGateway interface {
awscdk.CfnResource
awscdk.IInspectable
interfacesawsbedrockagentcore.IGatewayRef
awscdk.ITaggableV2
// The date and time at which the gateway was created.
AttrCreatedAt() *string
// The ARN for the gateway.
AttrGatewayArn() *string
AttrGatewayIdentifier() *string
// The gateway URL for the gateway.
AttrGatewayUrl() *string
// The status for the gateway.
AttrStatus() *string
// The status reasons for the gateway.
AttrStatusReasons() *[]*string
AttrUpdatedAt() *string
AttrWorkloadIdentityDetails() awscdk.IResolvable
AuthorizerConfiguration() interface{}
SetAuthorizerConfiguration(val interface{})
// The authorizer type for the gateway.
AuthorizerType() *string
SetAuthorizerType(val *string)
// Tag Manager which manages the tags for this resource.
CdkTagManager() awscdk.TagManager
// Options for this resource, such as condition, update policy etc.
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
// AWS resource type.
CfnResourceType() *string
// Returns: the stack trace of the point where this Resource was created from, sourced
// from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most
// node +internal+ entries filtered.
CreationStack() *[]*string
// The description for the gateway.
Description() *string
SetDescription(val *string)
Env() *interfaces.ResourceEnvironment
// The exception level for the gateway.
ExceptionLevel() *string
SetExceptionLevel(val *string)
// A reference to a Gateway resource.
GatewayRef() *interfacesawsbedrockagentcore.GatewayReference
// The KMS key ARN for the gateway.
KmsKeyArn() *string
SetKmsKeyArn(val *string)
// The logical ID for this CloudFormation stack element.
//
// The logical ID of the element
// is calculated from the path of the resource node in the construct tree.
//
// To override this value, use `overrideLogicalId(newLogicalId)`.
//
// Returns: the logical ID as a stringified token. This value will only get
// resolved during synthesis.
LogicalId() *string
// The name for the gateway.
Name() *string
SetName(val *string)
// The tree node.
Node() constructs.Node
// The protocol configuration for the gateway target.
ProtocolConfiguration() interface{}
SetProtocolConfiguration(val interface{})
// The protocol type for the gateway target.
ProtocolType() *string
SetProtocolType(val *string)
// Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
//
// If, by any chance, the intrinsic reference of a resource is not a string, you could
// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
Ref() *string
RoleArn() *string
SetRoleArn(val *string)
// The stack in which this element is defined.
//
// CfnElements must be defined within a stack scope (directly or indirectly).
Stack() awscdk.Stack
// The tags for the gateway.
Tags() *map[string]*string
SetTags(val *map[string]*string)
// Deprecated.
// Deprecated: use `updatedProperties`
//
// Return properties modified after initiation
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperites() *map[string]interface{}
// Return properties modified after initiation.
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperties() *map[string]interface{}
// Syntactic sugar for `addOverride(path, undefined)`.
AddDeletionOverride(path *string)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
//
// This can be used for resources across stacks (or nested stack) boundaries
// and the dependency will automatically be transferred to the relevant scope.
AddDependency(target awscdk.CfnResource)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
// Deprecated: use addDependency.
AddDependsOn(target awscdk.CfnResource)
// Add a value to the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
AddMetadata(key *string, value interface{})
// Adds an override to the synthesized CloudFormation resource.
//
// To add a
// property override, either use `addPropertyOverride` or prefix `path` with
// "Properties." (i.e. `Properties.TopicName`).
//
// If the override is nested, separate each nested level using a dot (.) in the path parameter.
// If there is an array as part of the nesting, specify the index in the path.
//
// To include a literal `.` in the property name, prefix with a `\`. In most
// programming languages you will need to write this as `"\\."` because the
// `\` itself will need to be escaped.
//
// For example,
// “`typescript
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
// “`
// would add the overrides
// “`json
// "Properties": {
// "GlobalSecondaryIndexes": [
// {
// "Projection": {
// "NonKeyAttributes": [ "myattribute" ]
// ...
// }
// ...
// },
// {
// "ProjectionType": "INCLUDE"
// ...
// },
// ]
// ...
// }
// “`
//
// The `value` argument to `addOverride` will not be processed or translated
// in any way. Pass raw JSON values in here with the correct capitalization
// for CloudFormation. If you pass CDK classes or structs, they will be
// rendered with lowercased key names, and CloudFormation will reject the
// template.
AddOverride(path *string, value interface{})
// Adds an override that deletes the value of a property from the resource definition.
AddPropertyDeletionOverride(propertyPath *string)
// Adds an override to a resource property.
//
// Syntactic sugar for `addOverride("Properties.<...>", value)`.
AddPropertyOverride(propertyPath *string, value interface{})
// Sets the deletion policy of the resource based on the removal policy specified.
//
// The Removal Policy controls what happens to this resource when it stops
// being managed by CloudFormation, either because you've removed it from the
// CDK application or because you've made a change that requires the resource
// to be replaced.
//
// The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
// account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some
// cases, a snapshot can be taken of the resource prior to deletion
// (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy
// can be found in the following link:.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options
//
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
// Returns a token for an runtime attribute of this resource.
//
// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
// in case there is no generated attribute.
GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference
// Retrieve a value value from the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
GetMetadata(key *string) interface{}
// Examines the CloudFormation resource and discloses attributes.
Inspect(inspector awscdk.TreeInspector)
// Retrieves an array of resources this resource depends on.
//
// This assembles dependencies on resources across stacks (including nested stacks)
// automatically.
ObtainDependencies() *[]interface{}
// Get a shallow copy of dependencies between this resource and other resources in the same stack.
ObtainResourceDependencies() *[]awscdk.CfnResource
// Overrides the auto-generated logical ID with a specific ID.
OverrideLogicalId(newLogicalId *string)
// Indicates that this resource no longer depends on another resource.
//
// This can be used for resources across stacks (including nested stacks)
// and the dependency will automatically be removed from the relevant scope.
RemoveDependency(target awscdk.CfnResource)
RenderProperties(props *map[string]interface{}) *map[string]interface{}
// Replaces one dependency with another.
ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource)
// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
//
// Returns: `true` if the resource should be included or `false` is the resource
// should be omitted.
ShouldSynthesize() *bool
// Returns a string representation of this construct.
//
// Returns: a string representation of this resource.
ToString() *string
ValidateProperties(_properties interface{})
}
Amazon Bedrock AgentCore Gateway provides a unified connectivity layer between agents and the tools and resources they need to interact with.
For more information about creating a gateway, see [Set up an Amazon Bedrock AgentCore gateway](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/gateway-building.html) .
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 "github.com/aws/aws-cdk-go/awscdk"
cfnGateway := awscdk.Aws_bedrockagentcore.NewCfnGateway(this, jsii.String("MyCfnGateway"), &CfnGatewayProps{
AuthorizerType: jsii.String("authorizerType"),
Name: jsii.String("name"),
ProtocolType: jsii.String("protocolType"),
RoleArn: jsii.String("roleArn"),
// the properties below are optional
AuthorizerConfiguration: &AuthorizerConfigurationProperty{
CustomJwtAuthorizer: &CustomJWTAuthorizerConfigurationProperty{
DiscoveryUrl: jsii.String("discoveryUrl"),
// the properties below are optional
AllowedAudience: []*string{
jsii.String("allowedAudience"),
},
AllowedClients: []*string{
jsii.String("allowedClients"),
},
},
},
Description: jsii.String("description"),
ExceptionLevel: jsii.String("exceptionLevel"),
KmsKeyArn: jsii.String("kmsKeyArn"),
ProtocolConfiguration: &GatewayProtocolConfigurationProperty{
Mcp: &MCPGatewayConfigurationProperty{
Instructions: jsii.String("instructions"),
SearchType: jsii.String("searchType"),
SupportedVersions: []*string{
jsii.String("supportedVersions"),
},
},
},
Tags: map[string]*string{
"tagsKey": jsii.String("tags"),
},
})
func NewCfnGateway ¶ added in v2.220.0
func NewCfnGateway(scope constructs.Construct, id *string, props *CfnGatewayProps) CfnGateway
Create a new `AWS::BedrockAgentCore::Gateway`.
type CfnGatewayProps ¶ added in v2.220.0
type CfnGatewayProps struct {
// The authorizer type for the gateway.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-authorizertype
//
AuthorizerType *string `field:"required" json:"authorizerType" yaml:"authorizerType"`
// The name for the gateway.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The protocol type for the gateway target.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-protocoltype
//
ProtocolType *string `field:"required" json:"protocolType" yaml:"protocolType"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-rolearn
//
RoleArn *string `field:"required" json:"roleArn" yaml:"roleArn"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-authorizerconfiguration
//
AuthorizerConfiguration interface{} `field:"optional" json:"authorizerConfiguration" yaml:"authorizerConfiguration"`
// The description for the gateway.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
// The exception level for the gateway.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-exceptionlevel
//
ExceptionLevel *string `field:"optional" json:"exceptionLevel" yaml:"exceptionLevel"`
// The KMS key ARN for the gateway.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-kmskeyarn
//
KmsKeyArn *string `field:"optional" json:"kmsKeyArn" yaml:"kmsKeyArn"`
// The protocol configuration for the gateway target.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-protocolconfiguration
//
ProtocolConfiguration interface{} `field:"optional" json:"protocolConfiguration" yaml:"protocolConfiguration"`
// The tags for the gateway.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gateway.html#cfn-bedrockagentcore-gateway-tags
//
Tags *map[string]*string `field:"optional" json:"tags" yaml:"tags"`
}
Properties for defining a `CfnGateway`.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnGatewayProps := &CfnGatewayProps{
AuthorizerType: jsii.String("authorizerType"),
Name: jsii.String("name"),
ProtocolType: jsii.String("protocolType"),
RoleArn: jsii.String("roleArn"),
// the properties below are optional
AuthorizerConfiguration: &AuthorizerConfigurationProperty{
CustomJwtAuthorizer: &CustomJWTAuthorizerConfigurationProperty{
DiscoveryUrl: jsii.String("discoveryUrl"),
// the properties below are optional
AllowedAudience: []*string{
jsii.String("allowedAudience"),
},
AllowedClients: []*string{
jsii.String("allowedClients"),
},
},
},
Description: jsii.String("description"),
ExceptionLevel: jsii.String("exceptionLevel"),
KmsKeyArn: jsii.String("kmsKeyArn"),
ProtocolConfiguration: &GatewayProtocolConfigurationProperty{
Mcp: &MCPGatewayConfigurationProperty{
Instructions: jsii.String("instructions"),
SearchType: jsii.String("searchType"),
SupportedVersions: []*string{
jsii.String("supportedVersions"),
},
},
},
Tags: map[string]*string{
"tagsKey": jsii.String("tags"),
},
}
type CfnGatewayTarget ¶ added in v2.220.0
type CfnGatewayTarget interface {
awscdk.CfnResource
awscdk.IInspectable
interfacesawsbedrockagentcore.IGatewayTargetRef
// The date and time at which the gateway target was created.
AttrCreatedAt() *string
AttrGatewayArn() *string
AttrLastSynchronizedAt() *string
// The status for the gateway target.
AttrStatus() *string
// The status reasons for the gateway target.
AttrStatusReasons() *[]*string
// The target ID for the gateway target.
AttrTargetId() *string
// The time at which the resource was updated.
AttrUpdatedAt() *string
// Options for this resource, such as condition, update policy etc.
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
// AWS resource type.
CfnResourceType() *string
// Returns: the stack trace of the point where this Resource was created from, sourced
// from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most
// node +internal+ entries filtered.
CreationStack() *[]*string
// The OAuth credential provider configuration.
CredentialProviderConfigurations() interface{}
SetCredentialProviderConfigurations(val interface{})
// The description for the gateway target.
Description() *string
SetDescription(val *string)
Env() *interfaces.ResourceEnvironment
// The gateway ID for the gateway target.
GatewayIdentifier() *string
SetGatewayIdentifier(val *string)
// A reference to a GatewayTarget resource.
GatewayTargetRef() *interfacesawsbedrockagentcore.GatewayTargetReference
// The logical ID for this CloudFormation stack element.
//
// The logical ID of the element
// is calculated from the path of the resource node in the construct tree.
//
// To override this value, use `overrideLogicalId(newLogicalId)`.
//
// Returns: the logical ID as a stringified token. This value will only get
// resolved during synthesis.
LogicalId() *string
// The name for the gateway target.
Name() *string
SetName(val *string)
// The tree node.
Node() constructs.Node
// Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
//
// If, by any chance, the intrinsic reference of a resource is not a string, you could
// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
Ref() *string
// The stack in which this element is defined.
//
// CfnElements must be defined within a stack scope (directly or indirectly).
Stack() awscdk.Stack
// The target configuration for the Smithy model target.
TargetConfiguration() interface{}
SetTargetConfiguration(val interface{})
// Deprecated.
// Deprecated: use `updatedProperties`
//
// Return properties modified after initiation
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperites() *map[string]interface{}
// Return properties modified after initiation.
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperties() *map[string]interface{}
// Syntactic sugar for `addOverride(path, undefined)`.
AddDeletionOverride(path *string)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
//
// This can be used for resources across stacks (or nested stack) boundaries
// and the dependency will automatically be transferred to the relevant scope.
AddDependency(target awscdk.CfnResource)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
// Deprecated: use addDependency.
AddDependsOn(target awscdk.CfnResource)
// Add a value to the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
AddMetadata(key *string, value interface{})
// Adds an override to the synthesized CloudFormation resource.
//
// To add a
// property override, either use `addPropertyOverride` or prefix `path` with
// "Properties." (i.e. `Properties.TopicName`).
//
// If the override is nested, separate each nested level using a dot (.) in the path parameter.
// If there is an array as part of the nesting, specify the index in the path.
//
// To include a literal `.` in the property name, prefix with a `\`. In most
// programming languages you will need to write this as `"\\."` because the
// `\` itself will need to be escaped.
//
// For example,
// “`typescript
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
// “`
// would add the overrides
// “`json
// "Properties": {
// "GlobalSecondaryIndexes": [
// {
// "Projection": {
// "NonKeyAttributes": [ "myattribute" ]
// ...
// }
// ...
// },
// {
// "ProjectionType": "INCLUDE"
// ...
// },
// ]
// ...
// }
// “`
//
// The `value` argument to `addOverride` will not be processed or translated
// in any way. Pass raw JSON values in here with the correct capitalization
// for CloudFormation. If you pass CDK classes or structs, they will be
// rendered with lowercased key names, and CloudFormation will reject the
// template.
AddOverride(path *string, value interface{})
// Adds an override that deletes the value of a property from the resource definition.
AddPropertyDeletionOverride(propertyPath *string)
// Adds an override to a resource property.
//
// Syntactic sugar for `addOverride("Properties.<...>", value)`.
AddPropertyOverride(propertyPath *string, value interface{})
// Sets the deletion policy of the resource based on the removal policy specified.
//
// The Removal Policy controls what happens to this resource when it stops
// being managed by CloudFormation, either because you've removed it from the
// CDK application or because you've made a change that requires the resource
// to be replaced.
//
// The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
// account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some
// cases, a snapshot can be taken of the resource prior to deletion
// (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy
// can be found in the following link:.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options
//
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
// Returns a token for an runtime attribute of this resource.
//
// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
// in case there is no generated attribute.
GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference
// Retrieve a value value from the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
GetMetadata(key *string) interface{}
// Examines the CloudFormation resource and discloses attributes.
Inspect(inspector awscdk.TreeInspector)
// Retrieves an array of resources this resource depends on.
//
// This assembles dependencies on resources across stacks (including nested stacks)
// automatically.
ObtainDependencies() *[]interface{}
// Get a shallow copy of dependencies between this resource and other resources in the same stack.
ObtainResourceDependencies() *[]awscdk.CfnResource
// Overrides the auto-generated logical ID with a specific ID.
OverrideLogicalId(newLogicalId *string)
// Indicates that this resource no longer depends on another resource.
//
// This can be used for resources across stacks (including nested stacks)
// and the dependency will automatically be removed from the relevant scope.
RemoveDependency(target awscdk.CfnResource)
RenderProperties(props *map[string]interface{}) *map[string]interface{}
// Replaces one dependency with another.
ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource)
// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
//
// Returns: `true` if the resource should be included or `false` is the resource
// should be omitted.
ShouldSynthesize() *bool
// Returns a string representation of this construct.
//
// Returns: a string representation of this resource.
ToString() *string
ValidateProperties(_properties interface{})
}
After creating a gateway, you can add targets, which define the tools that your gateway will host.
For more information about adding gateway targets, see [Add targets to an existing gateway](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/gateway-building-adding-targets.html) .
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 "github.com/aws/aws-cdk-go/awscdk"
var schemaDefinitionProperty_ SchemaDefinitionProperty
cfnGatewayTarget := awscdk.Aws_bedrockagentcore.NewCfnGatewayTarget(this, jsii.String("MyCfnGatewayTarget"), &CfnGatewayTargetProps{
CredentialProviderConfigurations: []interface{}{
&CredentialProviderConfigurationProperty{
CredentialProviderType: jsii.String("credentialProviderType"),
// the properties below are optional
CredentialProvider: &CredentialProviderProperty{
ApiKeyCredentialProvider: &ApiKeyCredentialProviderProperty{
ProviderArn: jsii.String("providerArn"),
// the properties below are optional
CredentialLocation: jsii.String("credentialLocation"),
CredentialParameterName: jsii.String("credentialParameterName"),
CredentialPrefix: jsii.String("credentialPrefix"),
},
OauthCredentialProvider: &OAuthCredentialProviderProperty{
ProviderArn: jsii.String("providerArn"),
Scopes: []*string{
jsii.String("scopes"),
},
// the properties below are optional
CustomParameters: map[string]*string{
"customParametersKey": jsii.String("customParameters"),
},
},
},
},
},
Name: jsii.String("name"),
TargetConfiguration: &TargetConfigurationProperty{
Mcp: &McpTargetConfigurationProperty{
Lambda: &McpLambdaTargetConfigurationProperty{
LambdaArn: jsii.String("lambdaArn"),
ToolSchema: &ToolSchemaProperty{
InlinePayload: []interface{}{
&ToolDefinitionProperty{
Description: jsii.String("description"),
InputSchema: &SchemaDefinitionProperty{
Type: jsii.String("type"),
// the properties below are optional
Description: jsii.String("description"),
Items: schemaDefinitionProperty_,
Properties: map[string]interface{}{
"propertiesKey": schemaDefinitionProperty_,
},
Required: []*string{
jsii.String("required"),
},
},
Name: jsii.String("name"),
// the properties below are optional
OutputSchema: &SchemaDefinitionProperty{
Type: jsii.String("type"),
// the properties below are optional
Description: jsii.String("description"),
Items: schemaDefinitionProperty_,
Properties: map[string]interface{}{
"propertiesKey": schemaDefinitionProperty_,
},
Required: []*string{
jsii.String("required"),
},
},
},
},
S3: &S3ConfigurationProperty{
BucketOwnerAccountId: jsii.String("bucketOwnerAccountId"),
Uri: jsii.String("uri"),
},
},
},
McpServer: &McpServerTargetConfigurationProperty{
Endpoint: jsii.String("endpoint"),
},
OpenApiSchema: &ApiSchemaConfigurationProperty{
InlinePayload: jsii.String("inlinePayload"),
S3: &S3ConfigurationProperty{
BucketOwnerAccountId: jsii.String("bucketOwnerAccountId"),
Uri: jsii.String("uri"),
},
},
SmithyModel: &ApiSchemaConfigurationProperty{
InlinePayload: jsii.String("inlinePayload"),
S3: &S3ConfigurationProperty{
BucketOwnerAccountId: jsii.String("bucketOwnerAccountId"),
Uri: jsii.String("uri"),
},
},
},
},
// the properties below are optional
Description: jsii.String("description"),
GatewayIdentifier: jsii.String("gatewayIdentifier"),
})
func NewCfnGatewayTarget ¶ added in v2.220.0
func NewCfnGatewayTarget(scope constructs.Construct, id *string, props *CfnGatewayTargetProps) CfnGatewayTarget
Create a new `AWS::BedrockAgentCore::GatewayTarget`.
type CfnGatewayTargetProps ¶ added in v2.220.0
type CfnGatewayTargetProps struct {
// The OAuth credential provider configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewaytarget.html#cfn-bedrockagentcore-gatewaytarget-credentialproviderconfigurations
//
CredentialProviderConfigurations interface{} `field:"required" json:"credentialProviderConfigurations" yaml:"credentialProviderConfigurations"`
// The name for the gateway target.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewaytarget.html#cfn-bedrockagentcore-gatewaytarget-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The target configuration for the Smithy model target.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewaytarget.html#cfn-bedrockagentcore-gatewaytarget-targetconfiguration
//
TargetConfiguration interface{} `field:"required" json:"targetConfiguration" yaml:"targetConfiguration"`
// The description for the gateway target.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewaytarget.html#cfn-bedrockagentcore-gatewaytarget-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
// The gateway ID for the gateway target.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-gatewaytarget.html#cfn-bedrockagentcore-gatewaytarget-gatewayidentifier
//
GatewayIdentifier *string `field:"optional" json:"gatewayIdentifier" yaml:"gatewayIdentifier"`
}
Properties for defining a `CfnGatewayTarget`.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
var schemaDefinitionProperty_ SchemaDefinitionProperty
cfnGatewayTargetProps := &CfnGatewayTargetProps{
CredentialProviderConfigurations: []interface{}{
&CredentialProviderConfigurationProperty{
CredentialProviderType: jsii.String("credentialProviderType"),
// the properties below are optional
CredentialProvider: &CredentialProviderProperty{
ApiKeyCredentialProvider: &ApiKeyCredentialProviderProperty{
ProviderArn: jsii.String("providerArn"),
// the properties below are optional
CredentialLocation: jsii.String("credentialLocation"),
CredentialParameterName: jsii.String("credentialParameterName"),
CredentialPrefix: jsii.String("credentialPrefix"),
},
OauthCredentialProvider: &OAuthCredentialProviderProperty{
ProviderArn: jsii.String("providerArn"),
Scopes: []*string{
jsii.String("scopes"),
},
// the properties below are optional
CustomParameters: map[string]*string{
"customParametersKey": jsii.String("customParameters"),
},
},
},
},
},
Name: jsii.String("name"),
TargetConfiguration: &TargetConfigurationProperty{
Mcp: &McpTargetConfigurationProperty{
Lambda: &McpLambdaTargetConfigurationProperty{
LambdaArn: jsii.String("lambdaArn"),
ToolSchema: &ToolSchemaProperty{
InlinePayload: []interface{}{
&ToolDefinitionProperty{
Description: jsii.String("description"),
InputSchema: &SchemaDefinitionProperty{
Type: jsii.String("type"),
// the properties below are optional
Description: jsii.String("description"),
Items: schemaDefinitionProperty_,
Properties: map[string]interface{}{
"propertiesKey": schemaDefinitionProperty_,
},
Required: []*string{
jsii.String("required"),
},
},
Name: jsii.String("name"),
// the properties below are optional
OutputSchema: &SchemaDefinitionProperty{
Type: jsii.String("type"),
// the properties below are optional
Description: jsii.String("description"),
Items: schemaDefinitionProperty_,
Properties: map[string]interface{}{
"propertiesKey": schemaDefinitionProperty_,
},
Required: []*string{
jsii.String("required"),
},
},
},
},
S3: &S3ConfigurationProperty{
BucketOwnerAccountId: jsii.String("bucketOwnerAccountId"),
Uri: jsii.String("uri"),
},
},
},
McpServer: &McpServerTargetConfigurationProperty{
Endpoint: jsii.String("endpoint"),
},
OpenApiSchema: &ApiSchemaConfigurationProperty{
InlinePayload: jsii.String("inlinePayload"),
S3: &S3ConfigurationProperty{
BucketOwnerAccountId: jsii.String("bucketOwnerAccountId"),
Uri: jsii.String("uri"),
},
},
SmithyModel: &ApiSchemaConfigurationProperty{
InlinePayload: jsii.String("inlinePayload"),
S3: &S3ConfigurationProperty{
BucketOwnerAccountId: jsii.String("bucketOwnerAccountId"),
Uri: jsii.String("uri"),
},
},
},
},
// the properties below are optional
Description: jsii.String("description"),
GatewayIdentifier: jsii.String("gatewayIdentifier"),
}
type CfnGatewayTarget_ApiKeyCredentialProviderProperty ¶ added in v2.220.0
type CfnGatewayTarget_ApiKeyCredentialProviderProperty struct {
// The provider ARN for the gateway target.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-apikeycredentialprovider.html#cfn-bedrockagentcore-gatewaytarget-apikeycredentialprovider-providerarn
//
ProviderArn *string `field:"required" json:"providerArn" yaml:"providerArn"`
// The credential location for the gateway target.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-apikeycredentialprovider.html#cfn-bedrockagentcore-gatewaytarget-apikeycredentialprovider-credentiallocation
//
CredentialLocation *string `field:"optional" json:"credentialLocation" yaml:"credentialLocation"`
// The credential parameter name for the provider for the gateway target.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-apikeycredentialprovider.html#cfn-bedrockagentcore-gatewaytarget-apikeycredentialprovider-credentialparametername
//
CredentialParameterName *string `field:"optional" json:"credentialParameterName" yaml:"credentialParameterName"`
// The API key credential provider for the gateway target.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-apikeycredentialprovider.html#cfn-bedrockagentcore-gatewaytarget-apikeycredentialprovider-credentialprefix
//
CredentialPrefix *string `field:"optional" json:"credentialPrefix" yaml:"credentialPrefix"`
}
The API key credential provider for the gateway target.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
apiKeyCredentialProviderProperty := &ApiKeyCredentialProviderProperty{
ProviderArn: jsii.String("providerArn"),
// the properties below are optional
CredentialLocation: jsii.String("credentialLocation"),
CredentialParameterName: jsii.String("credentialParameterName"),
CredentialPrefix: jsii.String("credentialPrefix"),
}
type CfnGatewayTarget_ApiSchemaConfigurationProperty ¶ added in v2.220.0
type CfnGatewayTarget_ApiSchemaConfigurationProperty struct {
// The inline payload for the gateway.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-apischemaconfiguration.html#cfn-bedrockagentcore-gatewaytarget-apischemaconfiguration-inlinepayload
//
InlinePayload *string `field:"optional" json:"inlinePayload" yaml:"inlinePayload"`
// The API schema configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-apischemaconfiguration.html#cfn-bedrockagentcore-gatewaytarget-apischemaconfiguration-s3
//
S3 interface{} `field:"optional" json:"s3" yaml:"s3"`
}
The API schema configuration for the gateway target.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
apiSchemaConfigurationProperty := &ApiSchemaConfigurationProperty{
InlinePayload: jsii.String("inlinePayload"),
S3: &S3ConfigurationProperty{
BucketOwnerAccountId: jsii.String("bucketOwnerAccountId"),
Uri: jsii.String("uri"),
},
}
type CfnGatewayTarget_CredentialProviderConfigurationProperty ¶ added in v2.220.0
type CfnGatewayTarget_CredentialProviderConfigurationProperty struct {
// The credential provider type for the gateway target.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-credentialproviderconfiguration.html#cfn-bedrockagentcore-gatewaytarget-credentialproviderconfiguration-credentialprovidertype
//
CredentialProviderType *string `field:"required" json:"credentialProviderType" yaml:"credentialProviderType"`
// The credential provider for the gateway target.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-credentialproviderconfiguration.html#cfn-bedrockagentcore-gatewaytarget-credentialproviderconfiguration-credentialprovider
//
CredentialProvider interface{} `field:"optional" json:"credentialProvider" yaml:"credentialProvider"`
}
The credential provider configuration for the gateway target.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
credentialProviderConfigurationProperty := &CredentialProviderConfigurationProperty{
CredentialProviderType: jsii.String("credentialProviderType"),
// the properties below are optional
CredentialProvider: &CredentialProviderProperty{
ApiKeyCredentialProvider: &ApiKeyCredentialProviderProperty{
ProviderArn: jsii.String("providerArn"),
// the properties below are optional
CredentialLocation: jsii.String("credentialLocation"),
CredentialParameterName: jsii.String("credentialParameterName"),
CredentialPrefix: jsii.String("credentialPrefix"),
},
OauthCredentialProvider: &OAuthCredentialProviderProperty{
ProviderArn: jsii.String("providerArn"),
Scopes: []*string{
jsii.String("scopes"),
},
// the properties below are optional
CustomParameters: map[string]*string{
"customParametersKey": jsii.String("customParameters"),
},
},
},
}
type CfnGatewayTarget_CredentialProviderProperty ¶ added in v2.220.0
type CfnGatewayTarget_CredentialProviderProperty struct {
// The API key credential provider.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-credentialprovider.html#cfn-bedrockagentcore-gatewaytarget-credentialprovider-apikeycredentialprovider
//
ApiKeyCredentialProvider interface{} `field:"optional" json:"apiKeyCredentialProvider" yaml:"apiKeyCredentialProvider"`
// The OAuth credential provider for the gateway target.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-credentialprovider.html#cfn-bedrockagentcore-gatewaytarget-credentialprovider-oauthcredentialprovider
//
OauthCredentialProvider interface{} `field:"optional" json:"oauthCredentialProvider" yaml:"oauthCredentialProvider"`
}
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
credentialProviderProperty := &CredentialProviderProperty{
ApiKeyCredentialProvider: &ApiKeyCredentialProviderProperty{
ProviderArn: jsii.String("providerArn"),
// the properties below are optional
CredentialLocation: jsii.String("credentialLocation"),
CredentialParameterName: jsii.String("credentialParameterName"),
CredentialPrefix: jsii.String("credentialPrefix"),
},
OauthCredentialProvider: &OAuthCredentialProviderProperty{
ProviderArn: jsii.String("providerArn"),
Scopes: []*string{
jsii.String("scopes"),
},
// the properties below are optional
CustomParameters: map[string]*string{
"customParametersKey": jsii.String("customParameters"),
},
},
}
type CfnGatewayTarget_McpLambdaTargetConfigurationProperty ¶ added in v2.220.0
type CfnGatewayTarget_McpLambdaTargetConfigurationProperty struct {
// The ARN of the Lambda target configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-mcplambdatargetconfiguration.html#cfn-bedrockagentcore-gatewaytarget-mcplambdatargetconfiguration-lambdaarn
//
LambdaArn *string `field:"required" json:"lambdaArn" yaml:"lambdaArn"`
// The tool schema configuration for the gateway target MCP configuration for Lambda.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-mcplambdatargetconfiguration.html#cfn-bedrockagentcore-gatewaytarget-mcplambdatargetconfiguration-toolschema
//
ToolSchema interface{} `field:"required" json:"toolSchema" yaml:"toolSchema"`
}
The Lambda target configuration.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
var schemaDefinitionProperty_ SchemaDefinitionProperty
mcpLambdaTargetConfigurationProperty := &McpLambdaTargetConfigurationProperty{
LambdaArn: jsii.String("lambdaArn"),
ToolSchema: &ToolSchemaProperty{
InlinePayload: []interface{}{
&ToolDefinitionProperty{
Description: jsii.String("description"),
InputSchema: &SchemaDefinitionProperty{
Type: jsii.String("type"),
// the properties below are optional
Description: jsii.String("description"),
Items: schemaDefinitionProperty_,
Properties: map[string]interface{}{
"propertiesKey": schemaDefinitionProperty_,
},
Required: []*string{
jsii.String("required"),
},
},
Name: jsii.String("name"),
// the properties below are optional
OutputSchema: &SchemaDefinitionProperty{
Type: jsii.String("type"),
// the properties below are optional
Description: jsii.String("description"),
Items: schemaDefinitionProperty_,
Properties: map[string]interface{}{
"propertiesKey": schemaDefinitionProperty_,
},
Required: []*string{
jsii.String("required"),
},
},
},
},
S3: &S3ConfigurationProperty{
BucketOwnerAccountId: jsii.String("bucketOwnerAccountId"),
Uri: jsii.String("uri"),
},
},
}
type CfnGatewayTarget_McpServerTargetConfigurationProperty ¶ added in v2.225.0
type CfnGatewayTarget_McpServerTargetConfigurationProperty struct {
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-mcpservertargetconfiguration.html#cfn-bedrockagentcore-gatewaytarget-mcpservertargetconfiguration-endpoint
//
Endpoint *string `field:"required" json:"endpoint" yaml:"endpoint"`
}
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
mcpServerTargetConfigurationProperty := &McpServerTargetConfigurationProperty{
Endpoint: jsii.String("endpoint"),
}
type CfnGatewayTarget_McpTargetConfigurationProperty ¶ added in v2.220.0
type CfnGatewayTarget_McpTargetConfigurationProperty struct {
// The Lambda MCP configuration for the gateway target.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-mcptargetconfiguration.html#cfn-bedrockagentcore-gatewaytarget-mcptargetconfiguration-lambda
//
Lambda interface{} `field:"optional" json:"lambda" yaml:"lambda"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-mcptargetconfiguration.html#cfn-bedrockagentcore-gatewaytarget-mcptargetconfiguration-mcpserver
//
McpServer interface{} `field:"optional" json:"mcpServer" yaml:"mcpServer"`
// The OpenApi schema for the gateway target MCP configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-mcptargetconfiguration.html#cfn-bedrockagentcore-gatewaytarget-mcptargetconfiguration-openapischema
//
OpenApiSchema interface{} `field:"optional" json:"openApiSchema" yaml:"openApiSchema"`
// The target configuration for the Smithy model target.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-mcptargetconfiguration.html#cfn-bedrockagentcore-gatewaytarget-mcptargetconfiguration-smithymodel
//
SmithyModel interface{} `field:"optional" json:"smithyModel" yaml:"smithyModel"`
}
The MCP target configuration for the gateway target.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
var schemaDefinitionProperty_ SchemaDefinitionProperty
mcpTargetConfigurationProperty := &McpTargetConfigurationProperty{
Lambda: &McpLambdaTargetConfigurationProperty{
LambdaArn: jsii.String("lambdaArn"),
ToolSchema: &ToolSchemaProperty{
InlinePayload: []interface{}{
&ToolDefinitionProperty{
Description: jsii.String("description"),
InputSchema: &SchemaDefinitionProperty{
Type: jsii.String("type"),
// the properties below are optional
Description: jsii.String("description"),
Items: schemaDefinitionProperty_,
Properties: map[string]interface{}{
"propertiesKey": schemaDefinitionProperty_,
},
Required: []*string{
jsii.String("required"),
},
},
Name: jsii.String("name"),
// the properties below are optional
OutputSchema: &SchemaDefinitionProperty{
Type: jsii.String("type"),
// the properties below are optional
Description: jsii.String("description"),
Items: schemaDefinitionProperty_,
Properties: map[string]interface{}{
"propertiesKey": schemaDefinitionProperty_,
},
Required: []*string{
jsii.String("required"),
},
},
},
},
S3: &S3ConfigurationProperty{
BucketOwnerAccountId: jsii.String("bucketOwnerAccountId"),
Uri: jsii.String("uri"),
},
},
},
McpServer: &McpServerTargetConfigurationProperty{
Endpoint: jsii.String("endpoint"),
},
OpenApiSchema: &ApiSchemaConfigurationProperty{
InlinePayload: jsii.String("inlinePayload"),
S3: &S3ConfigurationProperty{
BucketOwnerAccountId: jsii.String("bucketOwnerAccountId"),
Uri: jsii.String("uri"),
},
},
SmithyModel: &ApiSchemaConfigurationProperty{
InlinePayload: jsii.String("inlinePayload"),
S3: &S3ConfigurationProperty{
BucketOwnerAccountId: jsii.String("bucketOwnerAccountId"),
Uri: jsii.String("uri"),
},
},
}
type CfnGatewayTarget_OAuthCredentialProviderProperty ¶ added in v2.220.0
type CfnGatewayTarget_OAuthCredentialProviderProperty struct {
// The provider ARN for the gateway target.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-oauthcredentialprovider.html#cfn-bedrockagentcore-gatewaytarget-oauthcredentialprovider-providerarn
//
ProviderArn *string `field:"required" json:"providerArn" yaml:"providerArn"`
// The OAuth credential provider scopes.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-oauthcredentialprovider.html#cfn-bedrockagentcore-gatewaytarget-oauthcredentialprovider-scopes
//
Scopes *[]*string `field:"required" json:"scopes" yaml:"scopes"`
// The OAuth credential provider.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-oauthcredentialprovider.html#cfn-bedrockagentcore-gatewaytarget-oauthcredentialprovider-customparameters
//
CustomParameters interface{} `field:"optional" json:"customParameters" yaml:"customParameters"`
}
The OAuth credential provider for the gateway target.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
oAuthCredentialProviderProperty := &OAuthCredentialProviderProperty{
ProviderArn: jsii.String("providerArn"),
Scopes: []*string{
jsii.String("scopes"),
},
// the properties below are optional
CustomParameters: map[string]*string{
"customParametersKey": jsii.String("customParameters"),
},
}
type CfnGatewayTarget_S3ConfigurationProperty ¶ added in v2.220.0
type CfnGatewayTarget_S3ConfigurationProperty struct {
// The S3 configuration bucket owner account ID for the gateway target.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-s3configuration.html#cfn-bedrockagentcore-gatewaytarget-s3configuration-bucketowneraccountid
//
BucketOwnerAccountId *string `field:"optional" json:"bucketOwnerAccountId" yaml:"bucketOwnerAccountId"`
// The configuration URI for the gateway target.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-s3configuration.html#cfn-bedrockagentcore-gatewaytarget-s3configuration-uri
//
Uri *string `field:"optional" json:"uri" yaml:"uri"`
}
The S3 configuration for the gateway target.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
s3ConfigurationProperty := &S3ConfigurationProperty{
BucketOwnerAccountId: jsii.String("bucketOwnerAccountId"),
Uri: jsii.String("uri"),
}
type CfnGatewayTarget_SchemaDefinitionProperty ¶ added in v2.220.0
type CfnGatewayTarget_SchemaDefinitionProperty struct {
// The scheme definition type for the gateway target.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-schemadefinition.html#cfn-bedrockagentcore-gatewaytarget-schemadefinition-type
//
Type *string `field:"required" json:"type" yaml:"type"`
// The workload identity details for the gateway.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-schemadefinition.html#cfn-bedrockagentcore-gatewaytarget-schemadefinition-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-schemadefinition.html#cfn-bedrockagentcore-gatewaytarget-schemadefinition-items
//
Items interface{} `field:"optional" json:"items" yaml:"items"`
// The schema definition properties for the gateway target.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-schemadefinition.html#cfn-bedrockagentcore-gatewaytarget-schemadefinition-properties
//
Properties interface{} `field:"optional" json:"properties" yaml:"properties"`
// The schema definition.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-schemadefinition.html#cfn-bedrockagentcore-gatewaytarget-schemadefinition-required
//
Required *[]*string `field:"optional" json:"required" yaml:"required"`
}
The schema definition for the gateway target.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
var schemaDefinitionProperty_ SchemaDefinitionProperty
schemaDefinitionProperty := &SchemaDefinitionProperty{
Type: jsii.String("type"),
// the properties below are optional
Description: jsii.String("description"),
Items: schemaDefinitionProperty_,
Properties: map[string]interface{}{
"propertiesKey": schemaDefinitionProperty_,
},
Required: []*string{
jsii.String("required"),
},
}
type CfnGatewayTarget_TargetConfigurationProperty ¶ added in v2.220.0
type CfnGatewayTarget_TargetConfigurationProperty struct {
// The target configuration definition for MCP.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-targetconfiguration.html#cfn-bedrockagentcore-gatewaytarget-targetconfiguration-mcp
//
Mcp interface{} `field:"required" json:"mcp" yaml:"mcp"`
}
The target configuration.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
var schemaDefinitionProperty_ SchemaDefinitionProperty
targetConfigurationProperty := &TargetConfigurationProperty{
Mcp: &McpTargetConfigurationProperty{
Lambda: &McpLambdaTargetConfigurationProperty{
LambdaArn: jsii.String("lambdaArn"),
ToolSchema: &ToolSchemaProperty{
InlinePayload: []interface{}{
&ToolDefinitionProperty{
Description: jsii.String("description"),
InputSchema: &SchemaDefinitionProperty{
Type: jsii.String("type"),
// the properties below are optional
Description: jsii.String("description"),
Items: schemaDefinitionProperty_,
Properties: map[string]interface{}{
"propertiesKey": schemaDefinitionProperty_,
},
Required: []*string{
jsii.String("required"),
},
},
Name: jsii.String("name"),
// the properties below are optional
OutputSchema: &SchemaDefinitionProperty{
Type: jsii.String("type"),
// the properties below are optional
Description: jsii.String("description"),
Items: schemaDefinitionProperty_,
Properties: map[string]interface{}{
"propertiesKey": schemaDefinitionProperty_,
},
Required: []*string{
jsii.String("required"),
},
},
},
},
S3: &S3ConfigurationProperty{
BucketOwnerAccountId: jsii.String("bucketOwnerAccountId"),
Uri: jsii.String("uri"),
},
},
},
McpServer: &McpServerTargetConfigurationProperty{
Endpoint: jsii.String("endpoint"),
},
OpenApiSchema: &ApiSchemaConfigurationProperty{
InlinePayload: jsii.String("inlinePayload"),
S3: &S3ConfigurationProperty{
BucketOwnerAccountId: jsii.String("bucketOwnerAccountId"),
Uri: jsii.String("uri"),
},
},
SmithyModel: &ApiSchemaConfigurationProperty{
InlinePayload: jsii.String("inlinePayload"),
S3: &S3ConfigurationProperty{
BucketOwnerAccountId: jsii.String("bucketOwnerAccountId"),
Uri: jsii.String("uri"),
},
},
},
}
type CfnGatewayTarget_ToolDefinitionProperty ¶ added in v2.220.0
type CfnGatewayTarget_ToolDefinitionProperty struct {
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-tooldefinition.html#cfn-bedrockagentcore-gatewaytarget-tooldefinition-description
//
Description *string `field:"required" json:"description" yaml:"description"`
// The input schema for the gateway target.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-tooldefinition.html#cfn-bedrockagentcore-gatewaytarget-tooldefinition-inputschema
//
InputSchema interface{} `field:"required" json:"inputSchema" yaml:"inputSchema"`
// The tool name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-tooldefinition.html#cfn-bedrockagentcore-gatewaytarget-tooldefinition-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The tool definition output schema for the gateway target.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-tooldefinition.html#cfn-bedrockagentcore-gatewaytarget-tooldefinition-outputschema
//
OutputSchema interface{} `field:"optional" json:"outputSchema" yaml:"outputSchema"`
}
The tool definition for the gateway.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
var schemaDefinitionProperty_ SchemaDefinitionProperty
toolDefinitionProperty := &ToolDefinitionProperty{
Description: jsii.String("description"),
InputSchema: &SchemaDefinitionProperty{
Type: jsii.String("type"),
// the properties below are optional
Description: jsii.String("description"),
Items: schemaDefinitionProperty_,
Properties: map[string]interface{}{
"propertiesKey": schemaDefinitionProperty_,
},
Required: []*string{
jsii.String("required"),
},
},
Name: jsii.String("name"),
// the properties below are optional
OutputSchema: &SchemaDefinitionProperty{
Type: jsii.String("type"),
// the properties below are optional
Description: jsii.String("description"),
Items: schemaDefinitionProperty_,
Properties: map[string]interface{}{
"propertiesKey": schemaDefinitionProperty_,
},
Required: []*string{
jsii.String("required"),
},
},
}
type CfnGatewayTarget_ToolSchemaProperty ¶ added in v2.220.0
type CfnGatewayTarget_ToolSchemaProperty struct {
// The inline payload for the gateway target.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-toolschema.html#cfn-bedrockagentcore-gatewaytarget-toolschema-inlinepayload
//
InlinePayload interface{} `field:"optional" json:"inlinePayload" yaml:"inlinePayload"`
// The S3 tool schema for the gateway target.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gatewaytarget-toolschema.html#cfn-bedrockagentcore-gatewaytarget-toolschema-s3
//
S3 interface{} `field:"optional" json:"s3" yaml:"s3"`
}
The tool schema for the gateway target.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
var schemaDefinitionProperty_ SchemaDefinitionProperty
toolSchemaProperty := &ToolSchemaProperty{
InlinePayload: []interface{}{
&ToolDefinitionProperty{
Description: jsii.String("description"),
InputSchema: &SchemaDefinitionProperty{
Type: jsii.String("type"),
// the properties below are optional
Description: jsii.String("description"),
Items: schemaDefinitionProperty_,
Properties: map[string]interface{}{
"propertiesKey": schemaDefinitionProperty_,
},
Required: []*string{
jsii.String("required"),
},
},
Name: jsii.String("name"),
// the properties below are optional
OutputSchema: &SchemaDefinitionProperty{
Type: jsii.String("type"),
// the properties below are optional
Description: jsii.String("description"),
Items: schemaDefinitionProperty_,
Properties: map[string]interface{}{
"propertiesKey": schemaDefinitionProperty_,
},
Required: []*string{
jsii.String("required"),
},
},
},
},
S3: &S3ConfigurationProperty{
BucketOwnerAccountId: jsii.String("bucketOwnerAccountId"),
Uri: jsii.String("uri"),
},
}
type CfnGateway_AuthorizerConfigurationProperty ¶ added in v2.220.0
type CfnGateway_AuthorizerConfigurationProperty struct {
// The authorizer configuration for the gateway.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-authorizerconfiguration.html#cfn-bedrockagentcore-gateway-authorizerconfiguration-customjwtauthorizer
//
CustomJwtAuthorizer interface{} `field:"required" json:"customJwtAuthorizer" yaml:"customJwtAuthorizer"`
}
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
authorizerConfigurationProperty := &AuthorizerConfigurationProperty{
CustomJwtAuthorizer: &CustomJWTAuthorizerConfigurationProperty{
DiscoveryUrl: jsii.String("discoveryUrl"),
// the properties below are optional
AllowedAudience: []*string{
jsii.String("allowedAudience"),
},
AllowedClients: []*string{
jsii.String("allowedClients"),
},
},
}
type CfnGateway_CustomJWTAuthorizerConfigurationProperty ¶ added in v2.220.0
type CfnGateway_CustomJWTAuthorizerConfigurationProperty struct {
// The discovery URL for the authorizer configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-customjwtauthorizerconfiguration.html#cfn-bedrockagentcore-gateway-customjwtauthorizerconfiguration-discoveryurl
//
DiscoveryUrl *string `field:"required" json:"discoveryUrl" yaml:"discoveryUrl"`
// The allowed audience authorized for the gateway target.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-customjwtauthorizerconfiguration.html#cfn-bedrockagentcore-gateway-customjwtauthorizerconfiguration-allowedaudience
//
AllowedAudience *[]*string `field:"optional" json:"allowedAudience" yaml:"allowedAudience"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-customjwtauthorizerconfiguration.html#cfn-bedrockagentcore-gateway-customjwtauthorizerconfiguration-allowedclients
//
AllowedClients *[]*string `field:"optional" json:"allowedClients" yaml:"allowedClients"`
}
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
customJWTAuthorizerConfigurationProperty := &CustomJWTAuthorizerConfigurationProperty{
DiscoveryUrl: jsii.String("discoveryUrl"),
// the properties below are optional
AllowedAudience: []*string{
jsii.String("allowedAudience"),
},
AllowedClients: []*string{
jsii.String("allowedClients"),
},
}
type CfnGateway_GatewayProtocolConfigurationProperty ¶ added in v2.220.0
type CfnGateway_GatewayProtocolConfigurationProperty struct {
// The gateway protocol configuration for MCP.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-gatewayprotocolconfiguration.html#cfn-bedrockagentcore-gateway-gatewayprotocolconfiguration-mcp
//
Mcp interface{} `field:"required" json:"mcp" yaml:"mcp"`
}
The protocol configuration.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
gatewayProtocolConfigurationProperty := &GatewayProtocolConfigurationProperty{
Mcp: &MCPGatewayConfigurationProperty{
Instructions: jsii.String("instructions"),
SearchType: jsii.String("searchType"),
SupportedVersions: []*string{
jsii.String("supportedVersions"),
},
},
}
type CfnGateway_MCPGatewayConfigurationProperty ¶ added in v2.220.0
type CfnGateway_MCPGatewayConfigurationProperty struct {
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-mcpgatewayconfiguration.html#cfn-bedrockagentcore-gateway-mcpgatewayconfiguration-instructions
//
Instructions *string `field:"optional" json:"instructions" yaml:"instructions"`
// The MCP gateway configuration search type.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-mcpgatewayconfiguration.html#cfn-bedrockagentcore-gateway-mcpgatewayconfiguration-searchtype
//
SearchType *string `field:"optional" json:"searchType" yaml:"searchType"`
// The supported versions for the MCP configuration for the gateway target.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-mcpgatewayconfiguration.html#cfn-bedrockagentcore-gateway-mcpgatewayconfiguration-supportedversions
//
SupportedVersions *[]*string `field:"optional" json:"supportedVersions" yaml:"supportedVersions"`
}
The gateway configuration for MCP.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
mCPGatewayConfigurationProperty := &MCPGatewayConfigurationProperty{
Instructions: jsii.String("instructions"),
SearchType: jsii.String("searchType"),
SupportedVersions: []*string{
jsii.String("supportedVersions"),
},
}
type CfnGateway_WorkloadIdentityDetailsProperty ¶ added in v2.220.0
type CfnGateway_WorkloadIdentityDetailsProperty struct {
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-gateway-workloadidentitydetails.html#cfn-bedrockagentcore-gateway-workloadidentitydetails-workloadidentityarn
//
WorkloadIdentityArn *string `field:"required" json:"workloadIdentityArn" yaml:"workloadIdentityArn"`
}
The workload identity details for the gateway.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
workloadIdentityDetailsProperty := &WorkloadIdentityDetailsProperty{
WorkloadIdentityArn: jsii.String("workloadIdentityArn"),
}
type CfnMemory ¶ added in v2.220.0
type CfnMemory interface {
awscdk.CfnResource
awscdk.IInspectable
interfacesawsbedrockagentcore.IMemoryRef
awscdk.ITaggableV2
// The timestamp when the memory record was created.
AttrCreatedAt() *string
AttrFailureReason() *string
// ARN of the Memory resource.
AttrMemoryArn() *string
// The memory ID.
AttrMemoryId() *string
// The memory status.
AttrStatus() *string
AttrUpdatedAt() *string
// Tag Manager which manages the tags for this resource.
CdkTagManager() awscdk.TagManager
// Options for this resource, such as condition, update policy etc.
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
// AWS resource type.
CfnResourceType() *string
// Returns: the stack trace of the point where this Resource was created from, sourced
// from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most
// node +internal+ entries filtered.
CreationStack() *[]*string
// Description of the Memory resource.
Description() *string
SetDescription(val *string)
// The memory encryption key Amazon Resource Name (ARN).
EncryptionKeyArn() *string
SetEncryptionKeyArn(val *string)
Env() *interfaces.ResourceEnvironment
// The event expiry configuration.
EventExpiryDuration() *float64
SetEventExpiryDuration(val *float64)
// The logical ID for this CloudFormation stack element.
//
// The logical ID of the element
// is calculated from the path of the resource node in the construct tree.
//
// To override this value, use `overrideLogicalId(newLogicalId)`.
//
// Returns: the logical ID as a stringified token. This value will only get
// resolved during synthesis.
LogicalId() *string
// The memory role ARN.
MemoryExecutionRoleArn() *string
SetMemoryExecutionRoleArn(val *string)
// A reference to a Memory resource.
MemoryRef() *interfacesawsbedrockagentcore.MemoryReference
// The memory strategies.
MemoryStrategies() interface{}
SetMemoryStrategies(val interface{})
// The memory name.
Name() *string
SetName(val *string)
// The tree node.
Node() constructs.Node
// Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
//
// If, by any chance, the intrinsic reference of a resource is not a string, you could
// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
Ref() *string
// The stack in which this element is defined.
//
// CfnElements must be defined within a stack scope (directly or indirectly).
Stack() awscdk.Stack
// The tags for the resources.
Tags() *map[string]*string
SetTags(val *map[string]*string)
// Deprecated.
// Deprecated: use `updatedProperties`
//
// Return properties modified after initiation
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperites() *map[string]interface{}
// Return properties modified after initiation.
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperties() *map[string]interface{}
// Syntactic sugar for `addOverride(path, undefined)`.
AddDeletionOverride(path *string)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
//
// This can be used for resources across stacks (or nested stack) boundaries
// and the dependency will automatically be transferred to the relevant scope.
AddDependency(target awscdk.CfnResource)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
// Deprecated: use addDependency.
AddDependsOn(target awscdk.CfnResource)
// Add a value to the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
AddMetadata(key *string, value interface{})
// Adds an override to the synthesized CloudFormation resource.
//
// To add a
// property override, either use `addPropertyOverride` or prefix `path` with
// "Properties." (i.e. `Properties.TopicName`).
//
// If the override is nested, separate each nested level using a dot (.) in the path parameter.
// If there is an array as part of the nesting, specify the index in the path.
//
// To include a literal `.` in the property name, prefix with a `\`. In most
// programming languages you will need to write this as `"\\."` because the
// `\` itself will need to be escaped.
//
// For example,
// “`typescript
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
// “`
// would add the overrides
// “`json
// "Properties": {
// "GlobalSecondaryIndexes": [
// {
// "Projection": {
// "NonKeyAttributes": [ "myattribute" ]
// ...
// }
// ...
// },
// {
// "ProjectionType": "INCLUDE"
// ...
// },
// ]
// ...
// }
// “`
//
// The `value` argument to `addOverride` will not be processed or translated
// in any way. Pass raw JSON values in here with the correct capitalization
// for CloudFormation. If you pass CDK classes or structs, they will be
// rendered with lowercased key names, and CloudFormation will reject the
// template.
AddOverride(path *string, value interface{})
// Adds an override that deletes the value of a property from the resource definition.
AddPropertyDeletionOverride(propertyPath *string)
// Adds an override to a resource property.
//
// Syntactic sugar for `addOverride("Properties.<...>", value)`.
AddPropertyOverride(propertyPath *string, value interface{})
// Sets the deletion policy of the resource based on the removal policy specified.
//
// The Removal Policy controls what happens to this resource when it stops
// being managed by CloudFormation, either because you've removed it from the
// CDK application or because you've made a change that requires the resource
// to be replaced.
//
// The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
// account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some
// cases, a snapshot can be taken of the resource prior to deletion
// (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy
// can be found in the following link:.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options
//
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
// Returns a token for an runtime attribute of this resource.
//
// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
// in case there is no generated attribute.
GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference
// Retrieve a value value from the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
GetMetadata(key *string) interface{}
// Examines the CloudFormation resource and discloses attributes.
Inspect(inspector awscdk.TreeInspector)
// Retrieves an array of resources this resource depends on.
//
// This assembles dependencies on resources across stacks (including nested stacks)
// automatically.
ObtainDependencies() *[]interface{}
// Get a shallow copy of dependencies between this resource and other resources in the same stack.
ObtainResourceDependencies() *[]awscdk.CfnResource
// Overrides the auto-generated logical ID with a specific ID.
OverrideLogicalId(newLogicalId *string)
// Indicates that this resource no longer depends on another resource.
//
// This can be used for resources across stacks (including nested stacks)
// and the dependency will automatically be removed from the relevant scope.
RemoveDependency(target awscdk.CfnResource)
RenderProperties(props *map[string]interface{}) *map[string]interface{}
// Replaces one dependency with another.
ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource)
// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
//
// Returns: `true` if the resource should be included or `false` is the resource
// should be omitted.
ShouldSynthesize() *bool
// Returns a string representation of this construct.
//
// Returns: a string representation of this resource.
ToString() *string
ValidateProperties(_properties interface{})
}
Memory allows AI agents to maintain both immediate and long-term knowledge, enabling context-aware and personalized interactions.
For more information about using Memory in Amazon Bedrock AgentCore, see [Host agent or tools with Amazon Bedrock AgentCore Memory](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/memory-getting-started.html) .
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 "github.com/aws/aws-cdk-go/awscdk"
cfnMemory := awscdk.Aws_bedrockagentcore.NewCfnMemory(this, jsii.String("MyCfnMemory"), &CfnMemoryProps{
EventExpiryDuration: jsii.Number(123),
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
EncryptionKeyArn: jsii.String("encryptionKeyArn"),
MemoryExecutionRoleArn: jsii.String("memoryExecutionRoleArn"),
MemoryStrategies: []interface{}{
&MemoryStrategyProperty{
CustomMemoryStrategy: &CustomMemoryStrategyProperty{
Name: jsii.String("name"),
// the properties below are optional
Configuration: &CustomConfigurationInputProperty{
SelfManagedConfiguration: &SelfManagedConfigurationProperty{
HistoricalContextWindowSize: jsii.Number(123),
InvocationConfiguration: &InvocationConfigurationInputProperty{
PayloadDeliveryBucketName: jsii.String("payloadDeliveryBucketName"),
TopicArn: jsii.String("topicArn"),
},
TriggerConditions: []interface{}{
&TriggerConditionInputProperty{
MessageBasedTrigger: &MessageBasedTriggerInputProperty{
MessageCount: jsii.Number(123),
},
TimeBasedTrigger: &TimeBasedTriggerInputProperty{
IdleSessionTimeout: jsii.Number(123),
},
TokenBasedTrigger: &TokenBasedTriggerInputProperty{
TokenCount: jsii.Number(123),
},
},
},
},
SemanticOverride: &SemanticOverrideProperty{
Consolidation: &SemanticOverrideConsolidationConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
},
Extraction: &SemanticOverrideExtractionConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
},
},
SummaryOverride: &SummaryOverrideProperty{
Consolidation: &SummaryOverrideConsolidationConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
},
},
UserPreferenceOverride: &UserPreferenceOverrideProperty{
Consolidation: &UserPreferenceOverrideConsolidationConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
},
Extraction: &UserPreferenceOverrideExtractionConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
},
},
},
CreatedAt: jsii.String("createdAt"),
Description: jsii.String("description"),
Namespaces: []*string{
jsii.String("namespaces"),
},
Status: jsii.String("status"),
StrategyId: jsii.String("strategyId"),
Type: jsii.String("type"),
UpdatedAt: jsii.String("updatedAt"),
},
SemanticMemoryStrategy: &SemanticMemoryStrategyProperty{
Name: jsii.String("name"),
// the properties below are optional
CreatedAt: jsii.String("createdAt"),
Description: jsii.String("description"),
Namespaces: []*string{
jsii.String("namespaces"),
},
Status: jsii.String("status"),
StrategyId: jsii.String("strategyId"),
Type: jsii.String("type"),
UpdatedAt: jsii.String("updatedAt"),
},
SummaryMemoryStrategy: &SummaryMemoryStrategyProperty{
Name: jsii.String("name"),
// the properties below are optional
CreatedAt: jsii.String("createdAt"),
Description: jsii.String("description"),
Namespaces: []*string{
jsii.String("namespaces"),
},
Status: jsii.String("status"),
StrategyId: jsii.String("strategyId"),
Type: jsii.String("type"),
UpdatedAt: jsii.String("updatedAt"),
},
UserPreferenceMemoryStrategy: &UserPreferenceMemoryStrategyProperty{
Name: jsii.String("name"),
// the properties below are optional
CreatedAt: jsii.String("createdAt"),
Description: jsii.String("description"),
Namespaces: []*string{
jsii.String("namespaces"),
},
Status: jsii.String("status"),
StrategyId: jsii.String("strategyId"),
Type: jsii.String("type"),
UpdatedAt: jsii.String("updatedAt"),
},
},
},
Tags: map[string]*string{
"tagsKey": jsii.String("tags"),
},
})
func NewCfnMemory ¶ added in v2.220.0
func NewCfnMemory(scope constructs.Construct, id *string, props *CfnMemoryProps) CfnMemory
Create a new `AWS::BedrockAgentCore::Memory`.
type CfnMemoryProps ¶ added in v2.220.0
type CfnMemoryProps struct {
// The event expiry configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-memory.html#cfn-bedrockagentcore-memory-eventexpiryduration
//
EventExpiryDuration *float64 `field:"required" json:"eventExpiryDuration" yaml:"eventExpiryDuration"`
// The memory name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-memory.html#cfn-bedrockagentcore-memory-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// Description of the Memory resource.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-memory.html#cfn-bedrockagentcore-memory-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
// The memory encryption key Amazon Resource Name (ARN).
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-memory.html#cfn-bedrockagentcore-memory-encryptionkeyarn
//
EncryptionKeyArn *string `field:"optional" json:"encryptionKeyArn" yaml:"encryptionKeyArn"`
// The memory role ARN.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-memory.html#cfn-bedrockagentcore-memory-memoryexecutionrolearn
//
MemoryExecutionRoleArn *string `field:"optional" json:"memoryExecutionRoleArn" yaml:"memoryExecutionRoleArn"`
// The memory strategies.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-memory.html#cfn-bedrockagentcore-memory-memorystrategies
//
MemoryStrategies interface{} `field:"optional" json:"memoryStrategies" yaml:"memoryStrategies"`
// The tags for the resources.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-memory.html#cfn-bedrockagentcore-memory-tags
//
Tags *map[string]*string `field:"optional" json:"tags" yaml:"tags"`
}
Properties for defining a `CfnMemory`.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnMemoryProps := &CfnMemoryProps{
EventExpiryDuration: jsii.Number(123),
Name: jsii.String("name"),
// the properties below are optional
Description: jsii.String("description"),
EncryptionKeyArn: jsii.String("encryptionKeyArn"),
MemoryExecutionRoleArn: jsii.String("memoryExecutionRoleArn"),
MemoryStrategies: []interface{}{
&MemoryStrategyProperty{
CustomMemoryStrategy: &CustomMemoryStrategyProperty{
Name: jsii.String("name"),
// the properties below are optional
Configuration: &CustomConfigurationInputProperty{
SelfManagedConfiguration: &SelfManagedConfigurationProperty{
HistoricalContextWindowSize: jsii.Number(123),
InvocationConfiguration: &InvocationConfigurationInputProperty{
PayloadDeliveryBucketName: jsii.String("payloadDeliveryBucketName"),
TopicArn: jsii.String("topicArn"),
},
TriggerConditions: []interface{}{
&TriggerConditionInputProperty{
MessageBasedTrigger: &MessageBasedTriggerInputProperty{
MessageCount: jsii.Number(123),
},
TimeBasedTrigger: &TimeBasedTriggerInputProperty{
IdleSessionTimeout: jsii.Number(123),
},
TokenBasedTrigger: &TokenBasedTriggerInputProperty{
TokenCount: jsii.Number(123),
},
},
},
},
SemanticOverride: &SemanticOverrideProperty{
Consolidation: &SemanticOverrideConsolidationConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
},
Extraction: &SemanticOverrideExtractionConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
},
},
SummaryOverride: &SummaryOverrideProperty{
Consolidation: &SummaryOverrideConsolidationConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
},
},
UserPreferenceOverride: &UserPreferenceOverrideProperty{
Consolidation: &UserPreferenceOverrideConsolidationConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
},
Extraction: &UserPreferenceOverrideExtractionConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
},
},
},
CreatedAt: jsii.String("createdAt"),
Description: jsii.String("description"),
Namespaces: []*string{
jsii.String("namespaces"),
},
Status: jsii.String("status"),
StrategyId: jsii.String("strategyId"),
Type: jsii.String("type"),
UpdatedAt: jsii.String("updatedAt"),
},
SemanticMemoryStrategy: &SemanticMemoryStrategyProperty{
Name: jsii.String("name"),
// the properties below are optional
CreatedAt: jsii.String("createdAt"),
Description: jsii.String("description"),
Namespaces: []*string{
jsii.String("namespaces"),
},
Status: jsii.String("status"),
StrategyId: jsii.String("strategyId"),
Type: jsii.String("type"),
UpdatedAt: jsii.String("updatedAt"),
},
SummaryMemoryStrategy: &SummaryMemoryStrategyProperty{
Name: jsii.String("name"),
// the properties below are optional
CreatedAt: jsii.String("createdAt"),
Description: jsii.String("description"),
Namespaces: []*string{
jsii.String("namespaces"),
},
Status: jsii.String("status"),
StrategyId: jsii.String("strategyId"),
Type: jsii.String("type"),
UpdatedAt: jsii.String("updatedAt"),
},
UserPreferenceMemoryStrategy: &UserPreferenceMemoryStrategyProperty{
Name: jsii.String("name"),
// the properties below are optional
CreatedAt: jsii.String("createdAt"),
Description: jsii.String("description"),
Namespaces: []*string{
jsii.String("namespaces"),
},
Status: jsii.String("status"),
StrategyId: jsii.String("strategyId"),
Type: jsii.String("type"),
UpdatedAt: jsii.String("updatedAt"),
},
},
},
Tags: map[string]*string{
"tagsKey": jsii.String("tags"),
},
}
type CfnMemory_CustomConfigurationInputProperty ¶ added in v2.220.0
type CfnMemory_CustomConfigurationInputProperty struct {
// The custom configuration input.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-customconfigurationinput.html#cfn-bedrockagentcore-memory-customconfigurationinput-selfmanagedconfiguration
//
SelfManagedConfiguration interface{} `field:"optional" json:"selfManagedConfiguration" yaml:"selfManagedConfiguration"`
// The memory override configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-customconfigurationinput.html#cfn-bedrockagentcore-memory-customconfigurationinput-semanticoverride
//
SemanticOverride interface{} `field:"optional" json:"semanticOverride" yaml:"semanticOverride"`
// The memory configuration override.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-customconfigurationinput.html#cfn-bedrockagentcore-memory-customconfigurationinput-summaryoverride
//
SummaryOverride interface{} `field:"optional" json:"summaryOverride" yaml:"summaryOverride"`
// The memory user preference override.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-customconfigurationinput.html#cfn-bedrockagentcore-memory-customconfigurationinput-userpreferenceoverride
//
UserPreferenceOverride interface{} `field:"optional" json:"userPreferenceOverride" yaml:"userPreferenceOverride"`
}
The memory configuration input.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
customConfigurationInputProperty := &CustomConfigurationInputProperty{
SelfManagedConfiguration: &SelfManagedConfigurationProperty{
HistoricalContextWindowSize: jsii.Number(123),
InvocationConfiguration: &InvocationConfigurationInputProperty{
PayloadDeliveryBucketName: jsii.String("payloadDeliveryBucketName"),
TopicArn: jsii.String("topicArn"),
},
TriggerConditions: []interface{}{
&TriggerConditionInputProperty{
MessageBasedTrigger: &MessageBasedTriggerInputProperty{
MessageCount: jsii.Number(123),
},
TimeBasedTrigger: &TimeBasedTriggerInputProperty{
IdleSessionTimeout: jsii.Number(123),
},
TokenBasedTrigger: &TokenBasedTriggerInputProperty{
TokenCount: jsii.Number(123),
},
},
},
},
SemanticOverride: &SemanticOverrideProperty{
Consolidation: &SemanticOverrideConsolidationConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
},
Extraction: &SemanticOverrideExtractionConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
},
},
SummaryOverride: &SummaryOverrideProperty{
Consolidation: &SummaryOverrideConsolidationConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
},
},
UserPreferenceOverride: &UserPreferenceOverrideProperty{
Consolidation: &UserPreferenceOverrideConsolidationConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
},
Extraction: &UserPreferenceOverrideExtractionConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
},
},
}
type CfnMemory_CustomMemoryStrategyProperty ¶ added in v2.220.0
type CfnMemory_CustomMemoryStrategyProperty struct {
// The memory strategy name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-custommemorystrategy.html#cfn-bedrockagentcore-memory-custommemorystrategy-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The memory strategy configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-custommemorystrategy.html#cfn-bedrockagentcore-memory-custommemorystrategy-configuration
//
Configuration interface{} `field:"optional" json:"configuration" yaml:"configuration"`
// Creation timestamp of the memory strategy.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-custommemorystrategy.html#cfn-bedrockagentcore-memory-custommemorystrategy-createdat
//
CreatedAt *string `field:"optional" json:"createdAt" yaml:"createdAt"`
// The memory strategy description.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-custommemorystrategy.html#cfn-bedrockagentcore-memory-custommemorystrategy-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
// The memory strategy namespaces.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-custommemorystrategy.html#cfn-bedrockagentcore-memory-custommemorystrategy-namespaces
//
Namespaces *[]*string `field:"optional" json:"namespaces" yaml:"namespaces"`
// The memory strategy status.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-custommemorystrategy.html#cfn-bedrockagentcore-memory-custommemorystrategy-status
//
Status *string `field:"optional" json:"status" yaml:"status"`
// The memory strategy ID.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-custommemorystrategy.html#cfn-bedrockagentcore-memory-custommemorystrategy-strategyid
//
StrategyId *string `field:"optional" json:"strategyId" yaml:"strategyId"`
// The memory strategy type.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-custommemorystrategy.html#cfn-bedrockagentcore-memory-custommemorystrategy-type
//
Type *string `field:"optional" json:"type" yaml:"type"`
// The memory strategy update date and time.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-custommemorystrategy.html#cfn-bedrockagentcore-memory-custommemorystrategy-updatedat
//
UpdatedAt *string `field:"optional" json:"updatedAt" yaml:"updatedAt"`
}
The memory strategy.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
customMemoryStrategyProperty := &CustomMemoryStrategyProperty{
Name: jsii.String("name"),
// the properties below are optional
Configuration: &CustomConfigurationInputProperty{
SelfManagedConfiguration: &SelfManagedConfigurationProperty{
HistoricalContextWindowSize: jsii.Number(123),
InvocationConfiguration: &InvocationConfigurationInputProperty{
PayloadDeliveryBucketName: jsii.String("payloadDeliveryBucketName"),
TopicArn: jsii.String("topicArn"),
},
TriggerConditions: []interface{}{
&TriggerConditionInputProperty{
MessageBasedTrigger: &MessageBasedTriggerInputProperty{
MessageCount: jsii.Number(123),
},
TimeBasedTrigger: &TimeBasedTriggerInputProperty{
IdleSessionTimeout: jsii.Number(123),
},
TokenBasedTrigger: &TokenBasedTriggerInputProperty{
TokenCount: jsii.Number(123),
},
},
},
},
SemanticOverride: &SemanticOverrideProperty{
Consolidation: &SemanticOverrideConsolidationConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
},
Extraction: &SemanticOverrideExtractionConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
},
},
SummaryOverride: &SummaryOverrideProperty{
Consolidation: &SummaryOverrideConsolidationConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
},
},
UserPreferenceOverride: &UserPreferenceOverrideProperty{
Consolidation: &UserPreferenceOverrideConsolidationConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
},
Extraction: &UserPreferenceOverrideExtractionConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
},
},
},
CreatedAt: jsii.String("createdAt"),
Description: jsii.String("description"),
Namespaces: []*string{
jsii.String("namespaces"),
},
Status: jsii.String("status"),
StrategyId: jsii.String("strategyId"),
Type: jsii.String("type"),
UpdatedAt: jsii.String("updatedAt"),
}
type CfnMemory_InvocationConfigurationInputProperty ¶ added in v2.221.0
type CfnMemory_InvocationConfigurationInputProperty struct {
// The message invocation configuration information for the bucket name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-invocationconfigurationinput.html#cfn-bedrockagentcore-memory-invocationconfigurationinput-payloaddeliverybucketname
//
PayloadDeliveryBucketName *string `field:"optional" json:"payloadDeliveryBucketName" yaml:"payloadDeliveryBucketName"`
// The memory trigger condition topic Amazon Resource Name (ARN).
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-invocationconfigurationinput.html#cfn-bedrockagentcore-memory-invocationconfigurationinput-topicarn
//
TopicArn *string `field:"optional" json:"topicArn" yaml:"topicArn"`
}
The memory invocation configuration input.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
invocationConfigurationInputProperty := &InvocationConfigurationInputProperty{
PayloadDeliveryBucketName: jsii.String("payloadDeliveryBucketName"),
TopicArn: jsii.String("topicArn"),
}
type CfnMemory_MemoryStrategyProperty ¶ added in v2.220.0
type CfnMemory_MemoryStrategyProperty struct {
// The memory strategy.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-memorystrategy.html#cfn-bedrockagentcore-memory-memorystrategy-custommemorystrategy
//
CustomMemoryStrategy interface{} `field:"optional" json:"customMemoryStrategy" yaml:"customMemoryStrategy"`
// The memory strategy.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-memorystrategy.html#cfn-bedrockagentcore-memory-memorystrategy-semanticmemorystrategy
//
SemanticMemoryStrategy interface{} `field:"optional" json:"semanticMemoryStrategy" yaml:"semanticMemoryStrategy"`
// The memory strategy summary.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-memorystrategy.html#cfn-bedrockagentcore-memory-memorystrategy-summarymemorystrategy
//
SummaryMemoryStrategy interface{} `field:"optional" json:"summaryMemoryStrategy" yaml:"summaryMemoryStrategy"`
// The memory strategy.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-memorystrategy.html#cfn-bedrockagentcore-memory-memorystrategy-userpreferencememorystrategy
//
UserPreferenceMemoryStrategy interface{} `field:"optional" json:"userPreferenceMemoryStrategy" yaml:"userPreferenceMemoryStrategy"`
}
The memory strategy.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
memoryStrategyProperty := &MemoryStrategyProperty{
CustomMemoryStrategy: &CustomMemoryStrategyProperty{
Name: jsii.String("name"),
// the properties below are optional
Configuration: &CustomConfigurationInputProperty{
SelfManagedConfiguration: &SelfManagedConfigurationProperty{
HistoricalContextWindowSize: jsii.Number(123),
InvocationConfiguration: &InvocationConfigurationInputProperty{
PayloadDeliveryBucketName: jsii.String("payloadDeliveryBucketName"),
TopicArn: jsii.String("topicArn"),
},
TriggerConditions: []interface{}{
&TriggerConditionInputProperty{
MessageBasedTrigger: &MessageBasedTriggerInputProperty{
MessageCount: jsii.Number(123),
},
TimeBasedTrigger: &TimeBasedTriggerInputProperty{
IdleSessionTimeout: jsii.Number(123),
},
TokenBasedTrigger: &TokenBasedTriggerInputProperty{
TokenCount: jsii.Number(123),
},
},
},
},
SemanticOverride: &SemanticOverrideProperty{
Consolidation: &SemanticOverrideConsolidationConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
},
Extraction: &SemanticOverrideExtractionConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
},
},
SummaryOverride: &SummaryOverrideProperty{
Consolidation: &SummaryOverrideConsolidationConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
},
},
UserPreferenceOverride: &UserPreferenceOverrideProperty{
Consolidation: &UserPreferenceOverrideConsolidationConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
},
Extraction: &UserPreferenceOverrideExtractionConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
},
},
},
CreatedAt: jsii.String("createdAt"),
Description: jsii.String("description"),
Namespaces: []*string{
jsii.String("namespaces"),
},
Status: jsii.String("status"),
StrategyId: jsii.String("strategyId"),
Type: jsii.String("type"),
UpdatedAt: jsii.String("updatedAt"),
},
SemanticMemoryStrategy: &SemanticMemoryStrategyProperty{
Name: jsii.String("name"),
// the properties below are optional
CreatedAt: jsii.String("createdAt"),
Description: jsii.String("description"),
Namespaces: []*string{
jsii.String("namespaces"),
},
Status: jsii.String("status"),
StrategyId: jsii.String("strategyId"),
Type: jsii.String("type"),
UpdatedAt: jsii.String("updatedAt"),
},
SummaryMemoryStrategy: &SummaryMemoryStrategyProperty{
Name: jsii.String("name"),
// the properties below are optional
CreatedAt: jsii.String("createdAt"),
Description: jsii.String("description"),
Namespaces: []*string{
jsii.String("namespaces"),
},
Status: jsii.String("status"),
StrategyId: jsii.String("strategyId"),
Type: jsii.String("type"),
UpdatedAt: jsii.String("updatedAt"),
},
UserPreferenceMemoryStrategy: &UserPreferenceMemoryStrategyProperty{
Name: jsii.String("name"),
// the properties below are optional
CreatedAt: jsii.String("createdAt"),
Description: jsii.String("description"),
Namespaces: []*string{
jsii.String("namespaces"),
},
Status: jsii.String("status"),
StrategyId: jsii.String("strategyId"),
Type: jsii.String("type"),
UpdatedAt: jsii.String("updatedAt"),
},
}
type CfnMemory_MessageBasedTriggerInputProperty ¶ added in v2.221.0
type CfnMemory_MessageBasedTriggerInputProperty struct {
// The memory trigger condition input for the message based trigger message count.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-messagebasedtriggerinput.html#cfn-bedrockagentcore-memory-messagebasedtriggerinput-messagecount
//
MessageCount *float64 `field:"optional" json:"messageCount" yaml:"messageCount"`
}
The message based trigger input.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
messageBasedTriggerInputProperty := &MessageBasedTriggerInputProperty{
MessageCount: jsii.Number(123),
}
type CfnMemory_SelfManagedConfigurationProperty ¶ added in v2.221.0
type CfnMemory_SelfManagedConfigurationProperty struct {
// The memory configuration for self managed.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-selfmanagedconfiguration.html#cfn-bedrockagentcore-memory-selfmanagedconfiguration-historicalcontextwindowsize
//
HistoricalContextWindowSize *float64 `field:"optional" json:"historicalContextWindowSize" yaml:"historicalContextWindowSize"`
// The self managed configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-selfmanagedconfiguration.html#cfn-bedrockagentcore-memory-selfmanagedconfiguration-invocationconfiguration
//
InvocationConfiguration interface{} `field:"optional" json:"invocationConfiguration" yaml:"invocationConfiguration"`
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-selfmanagedconfiguration.html#cfn-bedrockagentcore-memory-selfmanagedconfiguration-triggerconditions
//
TriggerConditions interface{} `field:"optional" json:"triggerConditions" yaml:"triggerConditions"`
}
The self managed configuration.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
selfManagedConfigurationProperty := &SelfManagedConfigurationProperty{
HistoricalContextWindowSize: jsii.Number(123),
InvocationConfiguration: &InvocationConfigurationInputProperty{
PayloadDeliveryBucketName: jsii.String("payloadDeliveryBucketName"),
TopicArn: jsii.String("topicArn"),
},
TriggerConditions: []interface{}{
&TriggerConditionInputProperty{
MessageBasedTrigger: &MessageBasedTriggerInputProperty{
MessageCount: jsii.Number(123),
},
TimeBasedTrigger: &TimeBasedTriggerInputProperty{
IdleSessionTimeout: jsii.Number(123),
},
TokenBasedTrigger: &TokenBasedTriggerInputProperty{
TokenCount: jsii.Number(123),
},
},
},
}
type CfnMemory_SemanticMemoryStrategyProperty ¶ added in v2.220.0
type CfnMemory_SemanticMemoryStrategyProperty struct {
// The memory strategy name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-semanticmemorystrategy.html#cfn-bedrockagentcore-memory-semanticmemorystrategy-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// Creation timestamp of the memory strategy.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-semanticmemorystrategy.html#cfn-bedrockagentcore-memory-semanticmemorystrategy-createdat
//
CreatedAt *string `field:"optional" json:"createdAt" yaml:"createdAt"`
// The memory strategy description.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-semanticmemorystrategy.html#cfn-bedrockagentcore-memory-semanticmemorystrategy-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
// The memory strategy namespaces.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-semanticmemorystrategy.html#cfn-bedrockagentcore-memory-semanticmemorystrategy-namespaces
//
Namespaces *[]*string `field:"optional" json:"namespaces" yaml:"namespaces"`
// Status of the memory strategy.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-semanticmemorystrategy.html#cfn-bedrockagentcore-memory-semanticmemorystrategy-status
//
Status *string `field:"optional" json:"status" yaml:"status"`
// The memory strategy ID.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-semanticmemorystrategy.html#cfn-bedrockagentcore-memory-semanticmemorystrategy-strategyid
//
StrategyId *string `field:"optional" json:"strategyId" yaml:"strategyId"`
// The memory strategy type.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-semanticmemorystrategy.html#cfn-bedrockagentcore-memory-semanticmemorystrategy-type
//
Type *string `field:"optional" json:"type" yaml:"type"`
// Last update timestamp of the memory strategy.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-semanticmemorystrategy.html#cfn-bedrockagentcore-memory-semanticmemorystrategy-updatedat
//
UpdatedAt *string `field:"optional" json:"updatedAt" yaml:"updatedAt"`
}
The memory strategy.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
semanticMemoryStrategyProperty := &SemanticMemoryStrategyProperty{
Name: jsii.String("name"),
// the properties below are optional
CreatedAt: jsii.String("createdAt"),
Description: jsii.String("description"),
Namespaces: []*string{
jsii.String("namespaces"),
},
Status: jsii.String("status"),
StrategyId: jsii.String("strategyId"),
Type: jsii.String("type"),
UpdatedAt: jsii.String("updatedAt"),
}
type CfnMemory_SemanticOverrideConsolidationConfigurationInputProperty ¶ added in v2.220.0
type CfnMemory_SemanticOverrideConsolidationConfigurationInputProperty struct {
// The override configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-semanticoverrideconsolidationconfigurationinput.html#cfn-bedrockagentcore-memory-semanticoverrideconsolidationconfigurationinput-appendtoprompt
//
AppendToPrompt *string `field:"required" json:"appendToPrompt" yaml:"appendToPrompt"`
// The memory override model ID.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-semanticoverrideconsolidationconfigurationinput.html#cfn-bedrockagentcore-memory-semanticoverrideconsolidationconfigurationinput-modelid
//
ModelId *string `field:"required" json:"modelId" yaml:"modelId"`
}
The memory override configuration.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
semanticOverrideConsolidationConfigurationInputProperty := &SemanticOverrideConsolidationConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
}
type CfnMemory_SemanticOverrideExtractionConfigurationInputProperty ¶ added in v2.220.0
type CfnMemory_SemanticOverrideExtractionConfigurationInputProperty struct {
// The extraction configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-semanticoverrideextractionconfigurationinput.html#cfn-bedrockagentcore-memory-semanticoverrideextractionconfigurationinput-appendtoprompt
//
AppendToPrompt *string `field:"required" json:"appendToPrompt" yaml:"appendToPrompt"`
// The memory override configuration model ID.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-semanticoverrideextractionconfigurationinput.html#cfn-bedrockagentcore-memory-semanticoverrideextractionconfigurationinput-modelid
//
ModelId *string `field:"required" json:"modelId" yaml:"modelId"`
}
The memory override configuration.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
semanticOverrideExtractionConfigurationInputProperty := &SemanticOverrideExtractionConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
}
type CfnMemory_SemanticOverrideProperty ¶ added in v2.220.0
type CfnMemory_SemanticOverrideProperty struct {
// The memory override consolidation.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-semanticoverride.html#cfn-bedrockagentcore-memory-semanticoverride-consolidation
//
Consolidation interface{} `field:"optional" json:"consolidation" yaml:"consolidation"`
// The memory override extraction.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-semanticoverride.html#cfn-bedrockagentcore-memory-semanticoverride-extraction
//
Extraction interface{} `field:"optional" json:"extraction" yaml:"extraction"`
}
The memory override.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
semanticOverrideProperty := &SemanticOverrideProperty{
Consolidation: &SemanticOverrideConsolidationConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
},
Extraction: &SemanticOverrideExtractionConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
},
}
type CfnMemory_SummaryMemoryStrategyProperty ¶ added in v2.220.0
type CfnMemory_SummaryMemoryStrategyProperty struct {
// The memory strategy name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-summarymemorystrategy.html#cfn-bedrockagentcore-memory-summarymemorystrategy-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// Creation timestamp of the memory strategy.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-summarymemorystrategy.html#cfn-bedrockagentcore-memory-summarymemorystrategy-createdat
//
CreatedAt *string `field:"optional" json:"createdAt" yaml:"createdAt"`
// The memory strategy description.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-summarymemorystrategy.html#cfn-bedrockagentcore-memory-summarymemorystrategy-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
// The summary memory strategy.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-summarymemorystrategy.html#cfn-bedrockagentcore-memory-summarymemorystrategy-namespaces
//
Namespaces *[]*string `field:"optional" json:"namespaces" yaml:"namespaces"`
// The memory strategy status.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-summarymemorystrategy.html#cfn-bedrockagentcore-memory-summarymemorystrategy-status
//
Status *string `field:"optional" json:"status" yaml:"status"`
// The memory strategy ID.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-summarymemorystrategy.html#cfn-bedrockagentcore-memory-summarymemorystrategy-strategyid
//
StrategyId *string `field:"optional" json:"strategyId" yaml:"strategyId"`
// The memory strategy type.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-summarymemorystrategy.html#cfn-bedrockagentcore-memory-summarymemorystrategy-type
//
Type *string `field:"optional" json:"type" yaml:"type"`
// The memory strategy update date and time.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-summarymemorystrategy.html#cfn-bedrockagentcore-memory-summarymemorystrategy-updatedat
//
UpdatedAt *string `field:"optional" json:"updatedAt" yaml:"updatedAt"`
}
The memory strategy.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
summaryMemoryStrategyProperty := &SummaryMemoryStrategyProperty{
Name: jsii.String("name"),
// the properties below are optional
CreatedAt: jsii.String("createdAt"),
Description: jsii.String("description"),
Namespaces: []*string{
jsii.String("namespaces"),
},
Status: jsii.String("status"),
StrategyId: jsii.String("strategyId"),
Type: jsii.String("type"),
UpdatedAt: jsii.String("updatedAt"),
}
type CfnMemory_SummaryOverrideConsolidationConfigurationInputProperty ¶ added in v2.220.0
type CfnMemory_SummaryOverrideConsolidationConfigurationInputProperty struct {
// The memory override configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-summaryoverrideconsolidationconfigurationinput.html#cfn-bedrockagentcore-memory-summaryoverrideconsolidationconfigurationinput-appendtoprompt
//
AppendToPrompt *string `field:"required" json:"appendToPrompt" yaml:"appendToPrompt"`
// The memory override configuration model ID.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-summaryoverrideconsolidationconfigurationinput.html#cfn-bedrockagentcore-memory-summaryoverrideconsolidationconfigurationinput-modelid
//
ModelId *string `field:"required" json:"modelId" yaml:"modelId"`
}
The consolidation configuration.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
summaryOverrideConsolidationConfigurationInputProperty := &SummaryOverrideConsolidationConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
}
type CfnMemory_SummaryOverrideProperty ¶ added in v2.220.0
type CfnMemory_SummaryOverrideProperty struct {
// The memory override consolidation.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-summaryoverride.html#cfn-bedrockagentcore-memory-summaryoverride-consolidation
//
Consolidation interface{} `field:"optional" json:"consolidation" yaml:"consolidation"`
}
The memory summary override.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
summaryOverrideProperty := &SummaryOverrideProperty{
Consolidation: &SummaryOverrideConsolidationConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
},
}
type CfnMemory_TimeBasedTriggerInputProperty ¶ added in v2.221.0
type CfnMemory_TimeBasedTriggerInputProperty struct {
// The memory trigger condition input for the session timeout.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-timebasedtriggerinput.html#cfn-bedrockagentcore-memory-timebasedtriggerinput-idlesessiontimeout
//
IdleSessionTimeout *float64 `field:"optional" json:"idleSessionTimeout" yaml:"idleSessionTimeout"`
}
The memory trigger condition input for the time based trigger.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
timeBasedTriggerInputProperty := &TimeBasedTriggerInputProperty{
IdleSessionTimeout: jsii.Number(123),
}
type CfnMemory_TokenBasedTriggerInputProperty ¶ added in v2.221.0
type CfnMemory_TokenBasedTriggerInputProperty struct {
// The token based trigger token count.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-tokenbasedtriggerinput.html#cfn-bedrockagentcore-memory-tokenbasedtriggerinput-tokencount
//
TokenCount *float64 `field:"optional" json:"tokenCount" yaml:"tokenCount"`
}
The token based trigger input.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
tokenBasedTriggerInputProperty := &TokenBasedTriggerInputProperty{
TokenCount: jsii.Number(123),
}
type CfnMemory_TriggerConditionInputProperty ¶ added in v2.221.0
type CfnMemory_TriggerConditionInputProperty struct {
// The memory trigger condition input for the message based trigger.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-triggerconditioninput.html#cfn-bedrockagentcore-memory-triggerconditioninput-messagebasedtrigger
//
MessageBasedTrigger interface{} `field:"optional" json:"messageBasedTrigger" yaml:"messageBasedTrigger"`
// The memory trigger condition input.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-triggerconditioninput.html#cfn-bedrockagentcore-memory-triggerconditioninput-timebasedtrigger
//
TimeBasedTrigger interface{} `field:"optional" json:"timeBasedTrigger" yaml:"timeBasedTrigger"`
// The trigger condition information for a token based trigger.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-triggerconditioninput.html#cfn-bedrockagentcore-memory-triggerconditioninput-tokenbasedtrigger
//
TokenBasedTrigger interface{} `field:"optional" json:"tokenBasedTrigger" yaml:"tokenBasedTrigger"`
}
The memory trigger condition input.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
triggerConditionInputProperty := &TriggerConditionInputProperty{
MessageBasedTrigger: &MessageBasedTriggerInputProperty{
MessageCount: jsii.Number(123),
},
TimeBasedTrigger: &TimeBasedTriggerInputProperty{
IdleSessionTimeout: jsii.Number(123),
},
TokenBasedTrigger: &TokenBasedTriggerInputProperty{
TokenCount: jsii.Number(123),
},
}
type CfnMemory_UserPreferenceMemoryStrategyProperty ¶ added in v2.220.0
type CfnMemory_UserPreferenceMemoryStrategyProperty struct {
// The memory strategy name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferencememorystrategy.html#cfn-bedrockagentcore-memory-userpreferencememorystrategy-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// Creation timestamp of the memory strategy.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferencememorystrategy.html#cfn-bedrockagentcore-memory-userpreferencememorystrategy-createdat
//
CreatedAt *string `field:"optional" json:"createdAt" yaml:"createdAt"`
// The memory strategy description.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferencememorystrategy.html#cfn-bedrockagentcore-memory-userpreferencememorystrategy-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
// The memory namespaces.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferencememorystrategy.html#cfn-bedrockagentcore-memory-userpreferencememorystrategy-namespaces
//
Namespaces *[]*string `field:"optional" json:"namespaces" yaml:"namespaces"`
// The memory strategy status.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferencememorystrategy.html#cfn-bedrockagentcore-memory-userpreferencememorystrategy-status
//
Status *string `field:"optional" json:"status" yaml:"status"`
// The memory strategy ID.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferencememorystrategy.html#cfn-bedrockagentcore-memory-userpreferencememorystrategy-strategyid
//
StrategyId *string `field:"optional" json:"strategyId" yaml:"strategyId"`
// The memory strategy type.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferencememorystrategy.html#cfn-bedrockagentcore-memory-userpreferencememorystrategy-type
//
Type *string `field:"optional" json:"type" yaml:"type"`
// The memory strategy update date and time.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferencememorystrategy.html#cfn-bedrockagentcore-memory-userpreferencememorystrategy-updatedat
//
UpdatedAt *string `field:"optional" json:"updatedAt" yaml:"updatedAt"`
}
The memory strategy.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
userPreferenceMemoryStrategyProperty := &UserPreferenceMemoryStrategyProperty{
Name: jsii.String("name"),
// the properties below are optional
CreatedAt: jsii.String("createdAt"),
Description: jsii.String("description"),
Namespaces: []*string{
jsii.String("namespaces"),
},
Status: jsii.String("status"),
StrategyId: jsii.String("strategyId"),
Type: jsii.String("type"),
UpdatedAt: jsii.String("updatedAt"),
}
type CfnMemory_UserPreferenceOverrideConsolidationConfigurationInputProperty ¶ added in v2.220.0
type CfnMemory_UserPreferenceOverrideConsolidationConfigurationInputProperty struct {
// The memory configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferenceoverrideconsolidationconfigurationinput.html#cfn-bedrockagentcore-memory-userpreferenceoverrideconsolidationconfigurationinput-appendtoprompt
//
AppendToPrompt *string `field:"required" json:"appendToPrompt" yaml:"appendToPrompt"`
// The memory override configuration model ID.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferenceoverrideconsolidationconfigurationinput.html#cfn-bedrockagentcore-memory-userpreferenceoverrideconsolidationconfigurationinput-modelid
//
ModelId *string `field:"required" json:"modelId" yaml:"modelId"`
}
The configuration input.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
userPreferenceOverrideConsolidationConfigurationInputProperty := &UserPreferenceOverrideConsolidationConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
}
type CfnMemory_UserPreferenceOverrideExtractionConfigurationInputProperty ¶ added in v2.220.0
type CfnMemory_UserPreferenceOverrideExtractionConfigurationInputProperty struct {
// The extraction configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferenceoverrideextractionconfigurationinput.html#cfn-bedrockagentcore-memory-userpreferenceoverrideextractionconfigurationinput-appendtoprompt
//
AppendToPrompt *string `field:"required" json:"appendToPrompt" yaml:"appendToPrompt"`
// The memory override for the model ID.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferenceoverrideextractionconfigurationinput.html#cfn-bedrockagentcore-memory-userpreferenceoverrideextractionconfigurationinput-modelid
//
ModelId *string `field:"required" json:"modelId" yaml:"modelId"`
}
The memory override configuration.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
userPreferenceOverrideExtractionConfigurationInputProperty := &UserPreferenceOverrideExtractionConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
}
type CfnMemory_UserPreferenceOverrideProperty ¶ added in v2.220.0
type CfnMemory_UserPreferenceOverrideProperty struct {
// The memory override consolidation information.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferenceoverride.html#cfn-bedrockagentcore-memory-userpreferenceoverride-consolidation
//
Consolidation interface{} `field:"optional" json:"consolidation" yaml:"consolidation"`
// The memory user preferences for extraction.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-memory-userpreferenceoverride.html#cfn-bedrockagentcore-memory-userpreferenceoverride-extraction
//
Extraction interface{} `field:"optional" json:"extraction" yaml:"extraction"`
}
The memory user preference override.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
userPreferenceOverrideProperty := &UserPreferenceOverrideProperty{
Consolidation: &UserPreferenceOverrideConsolidationConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
},
Extraction: &UserPreferenceOverrideExtractionConfigurationInputProperty{
AppendToPrompt: jsii.String("appendToPrompt"),
ModelId: jsii.String("modelId"),
},
}
type CfnRuntime ¶
type CfnRuntime interface {
awscdk.CfnResource
awscdk.IInspectable
interfacesawsbedrockagentcore.IRuntimeRef
awscdk.ITaggableV2
// The artifact of the agent.
AgentRuntimeArtifact() interface{}
SetAgentRuntimeArtifact(val interface{})
// The name of the AgentCore Runtime endpoint.
AgentRuntimeName() *string
SetAgentRuntimeName(val *string)
// The agent runtime ARN.
AttrAgentRuntimeArn() *string
// The ID for the agent runtime.
AttrAgentRuntimeId() *string
// The version for the agent runtime.
AttrAgentRuntimeVersion() *string
// The time at which the runtime was created.
AttrCreatedAt() *string
// The time at which the runtime was last updated.
AttrLastUpdatedAt() *string
// The status for the agent runtime.
AttrStatus() *string
// Configuration for workload identity.
AttrWorkloadIdentityDetails() awscdk.IResolvable
// Represents inbound authorization configuration options used to authenticate incoming requests.
AuthorizerConfiguration() interface{}
SetAuthorizerConfiguration(val interface{})
// Tag Manager which manages the tags for this resource.
CdkTagManager() awscdk.TagManager
// Options for this resource, such as condition, update policy etc.
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
// AWS resource type.
CfnResourceType() *string
// Returns: the stack trace of the point where this Resource was created from, sourced
// from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most
// node +internal+ entries filtered.
CreationStack() *[]*string
// The agent runtime description.
Description() *string
SetDescription(val *string)
Env() *interfaces.ResourceEnvironment
// The environment variables for the agent.
EnvironmentVariables() interface{}
SetEnvironmentVariables(val interface{})
// Configuration for managing the lifecycle of runtime sessions and resources.
LifecycleConfiguration() interface{}
SetLifecycleConfiguration(val interface{})
// The logical ID for this CloudFormation stack element.
//
// The logical ID of the element
// is calculated from the path of the resource node in the construct tree.
//
// To override this value, use `overrideLogicalId(newLogicalId)`.
//
// Returns: the logical ID as a stringified token. This value will only get
// resolved during synthesis.
LogicalId() *string
// The network configuration.
NetworkConfiguration() interface{}
SetNetworkConfiguration(val interface{})
// The tree node.
Node() constructs.Node
// The protocol configuration for an agent runtime.
ProtocolConfiguration() *string
SetProtocolConfiguration(val *string)
// Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
//
// If, by any chance, the intrinsic reference of a resource is not a string, you could
// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
Ref() *string
// Configuration for HTTP request headers.
RequestHeaderConfiguration() interface{}
SetRequestHeaderConfiguration(val interface{})
// The Amazon Resource Name (ARN) for for the role.
RoleArn() *string
SetRoleArn(val *string)
// A reference to a Runtime resource.
RuntimeRef() *interfacesawsbedrockagentcore.RuntimeReference
// The stack in which this element is defined.
//
// CfnElements must be defined within a stack scope (directly or indirectly).
Stack() awscdk.Stack
// The tags for the agent.
Tags() *map[string]*string
SetTags(val *map[string]*string)
// Deprecated.
// Deprecated: use `updatedProperties`
//
// Return properties modified after initiation
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperites() *map[string]interface{}
// Return properties modified after initiation.
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperties() *map[string]interface{}
// Syntactic sugar for `addOverride(path, undefined)`.
AddDeletionOverride(path *string)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
//
// This can be used for resources across stacks (or nested stack) boundaries
// and the dependency will automatically be transferred to the relevant scope.
AddDependency(target awscdk.CfnResource)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
// Deprecated: use addDependency.
AddDependsOn(target awscdk.CfnResource)
// Add a value to the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
AddMetadata(key *string, value interface{})
// Adds an override to the synthesized CloudFormation resource.
//
// To add a
// property override, either use `addPropertyOverride` or prefix `path` with
// "Properties." (i.e. `Properties.TopicName`).
//
// If the override is nested, separate each nested level using a dot (.) in the path parameter.
// If there is an array as part of the nesting, specify the index in the path.
//
// To include a literal `.` in the property name, prefix with a `\`. In most
// programming languages you will need to write this as `"\\."` because the
// `\` itself will need to be escaped.
//
// For example,
// “`typescript
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
// “`
// would add the overrides
// “`json
// "Properties": {
// "GlobalSecondaryIndexes": [
// {
// "Projection": {
// "NonKeyAttributes": [ "myattribute" ]
// ...
// }
// ...
// },
// {
// "ProjectionType": "INCLUDE"
// ...
// },
// ]
// ...
// }
// “`
//
// The `value` argument to `addOverride` will not be processed or translated
// in any way. Pass raw JSON values in here with the correct capitalization
// for CloudFormation. If you pass CDK classes or structs, they will be
// rendered with lowercased key names, and CloudFormation will reject the
// template.
AddOverride(path *string, value interface{})
// Adds an override that deletes the value of a property from the resource definition.
AddPropertyDeletionOverride(propertyPath *string)
// Adds an override to a resource property.
//
// Syntactic sugar for `addOverride("Properties.<...>", value)`.
AddPropertyOverride(propertyPath *string, value interface{})
// Sets the deletion policy of the resource based on the removal policy specified.
//
// The Removal Policy controls what happens to this resource when it stops
// being managed by CloudFormation, either because you've removed it from the
// CDK application or because you've made a change that requires the resource
// to be replaced.
//
// The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
// account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some
// cases, a snapshot can be taken of the resource prior to deletion
// (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy
// can be found in the following link:.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options
//
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
// Returns a token for an runtime attribute of this resource.
//
// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
// in case there is no generated attribute.
GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference
// Retrieve a value value from the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
GetMetadata(key *string) interface{}
// Examines the CloudFormation resource and discloses attributes.
Inspect(inspector awscdk.TreeInspector)
// Retrieves an array of resources this resource depends on.
//
// This assembles dependencies on resources across stacks (including nested stacks)
// automatically.
ObtainDependencies() *[]interface{}
// Get a shallow copy of dependencies between this resource and other resources in the same stack.
ObtainResourceDependencies() *[]awscdk.CfnResource
// Overrides the auto-generated logical ID with a specific ID.
OverrideLogicalId(newLogicalId *string)
// Indicates that this resource no longer depends on another resource.
//
// This can be used for resources across stacks (including nested stacks)
// and the dependency will automatically be removed from the relevant scope.
RemoveDependency(target awscdk.CfnResource)
RenderProperties(props *map[string]interface{}) *map[string]interface{}
// Replaces one dependency with another.
ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource)
// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
//
// Returns: `true` if the resource should be included or `false` is the resource
// should be omitted.
ShouldSynthesize() *bool
// Returns a string representation of this construct.
//
// Returns: a string representation of this resource.
ToString() *string
ValidateProperties(_properties interface{})
}
Contains information about an agent runtime. An agent runtime is the execution environment for a Amazon Bedrock Agent.
AgentCore Runtime is a secure, serverless runtime purpose-built for deploying and scaling dynamic AI agents and tools using any open-source framework including LangGraph, CrewAI, and Strands Agents, any protocol, and any model.
For more information about using agent runtime in Amazon Bedrock AgentCore, see [Host agent or tools with Amazon Bedrock AgentCore Runtime](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/agents-tools-runtime.html) .
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 "github.com/aws/aws-cdk-go/awscdk"
cfnRuntime := awscdk.Aws_bedrockagentcore.NewCfnRuntime(this, jsii.String("MyCfnRuntime"), &CfnRuntimeProps{
AgentRuntimeArtifact: &AgentRuntimeArtifactProperty{
CodeConfiguration: &CodeConfigurationProperty{
Code: &CodeProperty{
S3: &S3LocationProperty{
Bucket: jsii.String("bucket"),
Prefix: jsii.String("prefix"),
// the properties below are optional
VersionId: jsii.String("versionId"),
},
},
EntryPoint: []*string{
jsii.String("entryPoint"),
},
Runtime: jsii.String("runtime"),
},
ContainerConfiguration: &ContainerConfigurationProperty{
ContainerUri: jsii.String("containerUri"),
},
},
AgentRuntimeName: jsii.String("agentRuntimeName"),
NetworkConfiguration: &NetworkConfigurationProperty{
NetworkMode: jsii.String("networkMode"),
// the properties below are optional
NetworkModeConfig: &VpcConfigProperty{
SecurityGroups: []*string{
jsii.String("securityGroups"),
},
Subnets: []*string{
jsii.String("subnets"),
},
},
},
RoleArn: jsii.String("roleArn"),
// the properties below are optional
AuthorizerConfiguration: &AuthorizerConfigurationProperty{
CustomJwtAuthorizer: &CustomJWTAuthorizerConfigurationProperty{
DiscoveryUrl: jsii.String("discoveryUrl"),
// the properties below are optional
AllowedAudience: []*string{
jsii.String("allowedAudience"),
},
AllowedClients: []*string{
jsii.String("allowedClients"),
},
},
},
Description: jsii.String("description"),
EnvironmentVariables: map[string]*string{
"environmentVariablesKey": jsii.String("environmentVariables"),
},
LifecycleConfiguration: &LifecycleConfigurationProperty{
IdleRuntimeSessionTimeout: jsii.Number(123),
MaxLifetime: jsii.Number(123),
},
ProtocolConfiguration: jsii.String("protocolConfiguration"),
RequestHeaderConfiguration: &RequestHeaderConfigurationProperty{
RequestHeaderAllowlist: []*string{
jsii.String("requestHeaderAllowlist"),
},
},
Tags: map[string]*string{
"tagsKey": jsii.String("tags"),
},
})
func NewCfnRuntime ¶
func NewCfnRuntime(scope constructs.Construct, id *string, props *CfnRuntimeProps) CfnRuntime
Create a new `AWS::BedrockAgentCore::Runtime`.
type CfnRuntimeEndpoint ¶
type CfnRuntimeEndpoint interface {
awscdk.CfnResource
awscdk.IInspectable
interfacesawsbedrockagentcore.IRuntimeEndpointRef
awscdk.ITaggableV2
// The agent runtime ID.
AgentRuntimeId() *string
SetAgentRuntimeId(val *string)
// The version of the agent.
AgentRuntimeVersion() *string
SetAgentRuntimeVersion(val *string)
// The Amazon Resource Name (ARN) of the runtime agent.
AttrAgentRuntimeArn() *string
// The endpoint Amazon Resource Name (ARN).
AttrAgentRuntimeEndpointArn() *string
// The time at which the endpoint was created.
AttrCreatedAt() *string
// The reason for failure if the memory is in a failed state.
AttrFailureReason() *string
// The ID of the runtime endpoint.
AttrId() *string
// The time at which the endpoint was last updated.
AttrLastUpdatedAt() *string
// The live version for the runtime endpoint.
AttrLiveVersion() *string
// The status of the runtime endpoint.
AttrStatus() *string
// The target version.
AttrTargetVersion() *string
// Tag Manager which manages the tags for this resource.
CdkTagManager() awscdk.TagManager
// Options for this resource, such as condition, update policy etc.
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
// AWS resource type.
CfnResourceType() *string
// Returns: the stack trace of the point where this Resource was created from, sourced
// from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most
// node +internal+ entries filtered.
CreationStack() *[]*string
// Contains information about an agent runtime endpoint.
Description() *string
SetDescription(val *string)
Env() *interfaces.ResourceEnvironment
// The logical ID for this CloudFormation stack element.
//
// The logical ID of the element
// is calculated from the path of the resource node in the construct tree.
//
// To override this value, use `overrideLogicalId(newLogicalId)`.
//
// Returns: the logical ID as a stringified token. This value will only get
// resolved during synthesis.
LogicalId() *string
// The name of the AgentCore Runtime endpoint.
Name() *string
SetName(val *string)
// The tree node.
Node() constructs.Node
// Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
//
// If, by any chance, the intrinsic reference of a resource is not a string, you could
// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
Ref() *string
// A reference to a RuntimeEndpoint resource.
RuntimeEndpointRef() *interfacesawsbedrockagentcore.RuntimeEndpointReference
// The stack in which this element is defined.
//
// CfnElements must be defined within a stack scope (directly or indirectly).
Stack() awscdk.Stack
// The tags for the AgentCore Runtime endpoint.
Tags() *map[string]*string
SetTags(val *map[string]*string)
// Deprecated.
// Deprecated: use `updatedProperties`
//
// Return properties modified after initiation
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperites() *map[string]interface{}
// Return properties modified after initiation.
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperties() *map[string]interface{}
// Syntactic sugar for `addOverride(path, undefined)`.
AddDeletionOverride(path *string)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
//
// This can be used for resources across stacks (or nested stack) boundaries
// and the dependency will automatically be transferred to the relevant scope.
AddDependency(target awscdk.CfnResource)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
// Deprecated: use addDependency.
AddDependsOn(target awscdk.CfnResource)
// Add a value to the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
AddMetadata(key *string, value interface{})
// Adds an override to the synthesized CloudFormation resource.
//
// To add a
// property override, either use `addPropertyOverride` or prefix `path` with
// "Properties." (i.e. `Properties.TopicName`).
//
// If the override is nested, separate each nested level using a dot (.) in the path parameter.
// If there is an array as part of the nesting, specify the index in the path.
//
// To include a literal `.` in the property name, prefix with a `\`. In most
// programming languages you will need to write this as `"\\."` because the
// `\` itself will need to be escaped.
//
// For example,
// “`typescript
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
// “`
// would add the overrides
// “`json
// "Properties": {
// "GlobalSecondaryIndexes": [
// {
// "Projection": {
// "NonKeyAttributes": [ "myattribute" ]
// ...
// }
// ...
// },
// {
// "ProjectionType": "INCLUDE"
// ...
// },
// ]
// ...
// }
// “`
//
// The `value` argument to `addOverride` will not be processed or translated
// in any way. Pass raw JSON values in here with the correct capitalization
// for CloudFormation. If you pass CDK classes or structs, they will be
// rendered with lowercased key names, and CloudFormation will reject the
// template.
AddOverride(path *string, value interface{})
// Adds an override that deletes the value of a property from the resource definition.
AddPropertyDeletionOverride(propertyPath *string)
// Adds an override to a resource property.
//
// Syntactic sugar for `addOverride("Properties.<...>", value)`.
AddPropertyOverride(propertyPath *string, value interface{})
// Sets the deletion policy of the resource based on the removal policy specified.
//
// The Removal Policy controls what happens to this resource when it stops
// being managed by CloudFormation, either because you've removed it from the
// CDK application or because you've made a change that requires the resource
// to be replaced.
//
// The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
// account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some
// cases, a snapshot can be taken of the resource prior to deletion
// (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy
// can be found in the following link:.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options
//
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
// Returns a token for an runtime attribute of this resource.
//
// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
// in case there is no generated attribute.
GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference
// Retrieve a value value from the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
GetMetadata(key *string) interface{}
// Examines the CloudFormation resource and discloses attributes.
Inspect(inspector awscdk.TreeInspector)
// Retrieves an array of resources this resource depends on.
//
// This assembles dependencies on resources across stacks (including nested stacks)
// automatically.
ObtainDependencies() *[]interface{}
// Get a shallow copy of dependencies between this resource and other resources in the same stack.
ObtainResourceDependencies() *[]awscdk.CfnResource
// Overrides the auto-generated logical ID with a specific ID.
OverrideLogicalId(newLogicalId *string)
// Indicates that this resource no longer depends on another resource.
//
// This can be used for resources across stacks (including nested stacks)
// and the dependency will automatically be removed from the relevant scope.
RemoveDependency(target awscdk.CfnResource)
RenderProperties(props *map[string]interface{}) *map[string]interface{}
// Replaces one dependency with another.
ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource)
// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
//
// Returns: `true` if the resource should be included or `false` is the resource
// should be omitted.
ShouldSynthesize() *bool
// Returns a string representation of this construct.
//
// Returns: a string representation of this resource.
ToString() *string
ValidateProperties(_properties interface{})
}
AgentCore Runtime is a secure, serverless runtime purpose-built for deploying and scaling dynamic AI agents and tools using any open-source framework including LangGraph, CrewAI, and Strands Agents, any protocol, and any model.
For more information about using agent runtime endpoints in Amazon Bedrock AgentCore, see [AgentCore Runtime versioning and endpoints](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/agent-runtime-versioning.html) .
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 "github.com/aws/aws-cdk-go/awscdk"
cfnRuntimeEndpoint := awscdk.Aws_bedrockagentcore.NewCfnRuntimeEndpoint(this, jsii.String("MyCfnRuntimeEndpoint"), &CfnRuntimeEndpointProps{
AgentRuntimeId: jsii.String("agentRuntimeId"),
Name: jsii.String("name"),
// the properties below are optional
AgentRuntimeVersion: jsii.String("agentRuntimeVersion"),
Description: jsii.String("description"),
Tags: map[string]*string{
"tagsKey": jsii.String("tags"),
},
})
func NewCfnRuntimeEndpoint ¶
func NewCfnRuntimeEndpoint(scope constructs.Construct, id *string, props *CfnRuntimeEndpointProps) CfnRuntimeEndpoint
Create a new `AWS::BedrockAgentCore::RuntimeEndpoint`.
type CfnRuntimeEndpointProps ¶
type CfnRuntimeEndpointProps struct {
// The agent runtime ID.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtimeendpoint.html#cfn-bedrockagentcore-runtimeendpoint-agentruntimeid
//
AgentRuntimeId *string `field:"required" json:"agentRuntimeId" yaml:"agentRuntimeId"`
// The name of the AgentCore Runtime endpoint.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtimeendpoint.html#cfn-bedrockagentcore-runtimeendpoint-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The version of the agent.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtimeendpoint.html#cfn-bedrockagentcore-runtimeendpoint-agentruntimeversion
//
AgentRuntimeVersion *string `field:"optional" json:"agentRuntimeVersion" yaml:"agentRuntimeVersion"`
// Contains information about an agent runtime endpoint.
//
// An agent runtime is the execution environment for a Amazon Bedrock Agent.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtimeendpoint.html#cfn-bedrockagentcore-runtimeendpoint-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
// The tags for the AgentCore Runtime endpoint.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtimeendpoint.html#cfn-bedrockagentcore-runtimeendpoint-tags
//
Tags *map[string]*string `field:"optional" json:"tags" yaml:"tags"`
}
Properties for defining a `CfnRuntimeEndpoint`.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnRuntimeEndpointProps := &CfnRuntimeEndpointProps{
AgentRuntimeId: jsii.String("agentRuntimeId"),
Name: jsii.String("name"),
// the properties below are optional
AgentRuntimeVersion: jsii.String("agentRuntimeVersion"),
Description: jsii.String("description"),
Tags: map[string]*string{
"tagsKey": jsii.String("tags"),
},
}
type CfnRuntimeProps ¶
type CfnRuntimeProps struct {
// The artifact of the agent.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtime.html#cfn-bedrockagentcore-runtime-agentruntimeartifact
//
AgentRuntimeArtifact interface{} `field:"required" json:"agentRuntimeArtifact" yaml:"agentRuntimeArtifact"`
// The name of the AgentCore Runtime endpoint.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtime.html#cfn-bedrockagentcore-runtime-agentruntimename
//
AgentRuntimeName *string `field:"required" json:"agentRuntimeName" yaml:"agentRuntimeName"`
// The network configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtime.html#cfn-bedrockagentcore-runtime-networkconfiguration
//
NetworkConfiguration interface{} `field:"required" json:"networkConfiguration" yaml:"networkConfiguration"`
// The Amazon Resource Name (ARN) for for the role.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtime.html#cfn-bedrockagentcore-runtime-rolearn
//
RoleArn *string `field:"required" json:"roleArn" yaml:"roleArn"`
// Represents inbound authorization configuration options used to authenticate incoming requests.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtime.html#cfn-bedrockagentcore-runtime-authorizerconfiguration
//
AuthorizerConfiguration interface{} `field:"optional" json:"authorizerConfiguration" yaml:"authorizerConfiguration"`
// The agent runtime description.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtime.html#cfn-bedrockagentcore-runtime-description
//
Description *string `field:"optional" json:"description" yaml:"description"`
// The environment variables for the agent.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtime.html#cfn-bedrockagentcore-runtime-environmentvariables
//
EnvironmentVariables interface{} `field:"optional" json:"environmentVariables" yaml:"environmentVariables"`
// Configuration for managing the lifecycle of runtime sessions and resources.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtime.html#cfn-bedrockagentcore-runtime-lifecycleconfiguration
//
LifecycleConfiguration interface{} `field:"optional" json:"lifecycleConfiguration" yaml:"lifecycleConfiguration"`
// The protocol configuration for an agent runtime.
//
// This structure defines how the agent runtime communicates with clients.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtime.html#cfn-bedrockagentcore-runtime-protocolconfiguration
//
ProtocolConfiguration *string `field:"optional" json:"protocolConfiguration" yaml:"protocolConfiguration"`
// Configuration for HTTP request headers.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtime.html#cfn-bedrockagentcore-runtime-requestheaderconfiguration
//
RequestHeaderConfiguration interface{} `field:"optional" json:"requestHeaderConfiguration" yaml:"requestHeaderConfiguration"`
// The tags for the agent.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-runtime.html#cfn-bedrockagentcore-runtime-tags
//
Tags *map[string]*string `field:"optional" json:"tags" yaml:"tags"`
}
Properties for defining a `CfnRuntime`.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnRuntimeProps := &CfnRuntimeProps{
AgentRuntimeArtifact: &AgentRuntimeArtifactProperty{
CodeConfiguration: &CodeConfigurationProperty{
Code: &CodeProperty{
S3: &S3LocationProperty{
Bucket: jsii.String("bucket"),
Prefix: jsii.String("prefix"),
// the properties below are optional
VersionId: jsii.String("versionId"),
},
},
EntryPoint: []*string{
jsii.String("entryPoint"),
},
Runtime: jsii.String("runtime"),
},
ContainerConfiguration: &ContainerConfigurationProperty{
ContainerUri: jsii.String("containerUri"),
},
},
AgentRuntimeName: jsii.String("agentRuntimeName"),
NetworkConfiguration: &NetworkConfigurationProperty{
NetworkMode: jsii.String("networkMode"),
// the properties below are optional
NetworkModeConfig: &VpcConfigProperty{
SecurityGroups: []*string{
jsii.String("securityGroups"),
},
Subnets: []*string{
jsii.String("subnets"),
},
},
},
RoleArn: jsii.String("roleArn"),
// the properties below are optional
AuthorizerConfiguration: &AuthorizerConfigurationProperty{
CustomJwtAuthorizer: &CustomJWTAuthorizerConfigurationProperty{
DiscoveryUrl: jsii.String("discoveryUrl"),
// the properties below are optional
AllowedAudience: []*string{
jsii.String("allowedAudience"),
},
AllowedClients: []*string{
jsii.String("allowedClients"),
},
},
},
Description: jsii.String("description"),
EnvironmentVariables: map[string]*string{
"environmentVariablesKey": jsii.String("environmentVariables"),
},
LifecycleConfiguration: &LifecycleConfigurationProperty{
IdleRuntimeSessionTimeout: jsii.Number(123),
MaxLifetime: jsii.Number(123),
},
ProtocolConfiguration: jsii.String("protocolConfiguration"),
RequestHeaderConfiguration: &RequestHeaderConfigurationProperty{
RequestHeaderAllowlist: []*string{
jsii.String("requestHeaderAllowlist"),
},
},
Tags: map[string]*string{
"tagsKey": jsii.String("tags"),
},
}
type CfnRuntime_AgentRuntimeArtifactProperty ¶
type CfnRuntime_AgentRuntimeArtifactProperty struct {
// Representation of a code configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-agentruntimeartifact.html#cfn-bedrockagentcore-runtime-agentruntimeartifact-codeconfiguration
//
CodeConfiguration interface{} `field:"optional" json:"codeConfiguration" yaml:"codeConfiguration"`
// Representation of a container configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-agentruntimeartifact.html#cfn-bedrockagentcore-runtime-agentruntimeartifact-containerconfiguration
//
ContainerConfiguration interface{} `field:"optional" json:"containerConfiguration" yaml:"containerConfiguration"`
}
The artifact of the agent.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
agentRuntimeArtifactProperty := &AgentRuntimeArtifactProperty{
CodeConfiguration: &CodeConfigurationProperty{
Code: &CodeProperty{
S3: &S3LocationProperty{
Bucket: jsii.String("bucket"),
Prefix: jsii.String("prefix"),
// the properties below are optional
VersionId: jsii.String("versionId"),
},
},
EntryPoint: []*string{
jsii.String("entryPoint"),
},
Runtime: jsii.String("runtime"),
},
ContainerConfiguration: &ContainerConfigurationProperty{
ContainerUri: jsii.String("containerUri"),
},
}
type CfnRuntime_AuthorizerConfigurationProperty ¶
type CfnRuntime_AuthorizerConfigurationProperty struct {
// Represents inbound authorization configuration options used to authenticate incoming requests.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-authorizerconfiguration.html#cfn-bedrockagentcore-runtime-authorizerconfiguration-customjwtauthorizer
//
CustomJwtAuthorizer interface{} `field:"optional" json:"customJwtAuthorizer" yaml:"customJwtAuthorizer"`
}
The authorizer configuration.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
authorizerConfigurationProperty := &AuthorizerConfigurationProperty{
CustomJwtAuthorizer: &CustomJWTAuthorizerConfigurationProperty{
DiscoveryUrl: jsii.String("discoveryUrl"),
// the properties below are optional
AllowedAudience: []*string{
jsii.String("allowedAudience"),
},
AllowedClients: []*string{
jsii.String("allowedClients"),
},
},
}
type CfnRuntime_CodeConfigurationProperty ¶ added in v2.224.0
type CfnRuntime_CodeConfigurationProperty struct {
// Object represents source code from zip file.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-codeconfiguration.html#cfn-bedrockagentcore-runtime-codeconfiguration-code
//
Code interface{} `field:"required" json:"code" yaml:"code"`
// List of entry points.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-codeconfiguration.html#cfn-bedrockagentcore-runtime-codeconfiguration-entrypoint
//
EntryPoint *[]*string `field:"required" json:"entryPoint" yaml:"entryPoint"`
// Managed runtime types.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-codeconfiguration.html#cfn-bedrockagentcore-runtime-codeconfiguration-runtime
//
Runtime *string `field:"required" json:"runtime" yaml:"runtime"`
}
Representation of a code configuration.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
codeConfigurationProperty := &CodeConfigurationProperty{
Code: &CodeProperty{
S3: &S3LocationProperty{
Bucket: jsii.String("bucket"),
Prefix: jsii.String("prefix"),
// the properties below are optional
VersionId: jsii.String("versionId"),
},
},
EntryPoint: []*string{
jsii.String("entryPoint"),
},
Runtime: jsii.String("runtime"),
}
type CfnRuntime_CodeProperty ¶ added in v2.224.0
type CfnRuntime_CodeProperty struct {
// S3 Location Configuration.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-code.html#cfn-bedrockagentcore-runtime-code-s3
//
S3 interface{} `field:"optional" json:"s3" yaml:"s3"`
}
Object represents source code from zip file.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
codeProperty := &CodeProperty{
S3: &S3LocationProperty{
Bucket: jsii.String("bucket"),
Prefix: jsii.String("prefix"),
// the properties below are optional
VersionId: jsii.String("versionId"),
},
}
type CfnRuntime_ContainerConfigurationProperty ¶
type CfnRuntime_ContainerConfigurationProperty struct {
// The container Uri.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-containerconfiguration.html#cfn-bedrockagentcore-runtime-containerconfiguration-containeruri
//
ContainerUri *string `field:"required" json:"containerUri" yaml:"containerUri"`
}
The container configuration.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
containerConfigurationProperty := &ContainerConfigurationProperty{
ContainerUri: jsii.String("containerUri"),
}
type CfnRuntime_CustomJWTAuthorizerConfigurationProperty ¶
type CfnRuntime_CustomJWTAuthorizerConfigurationProperty struct {
// The configuration authorization.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-customjwtauthorizerconfiguration.html#cfn-bedrockagentcore-runtime-customjwtauthorizerconfiguration-discoveryurl
//
DiscoveryUrl *string `field:"required" json:"discoveryUrl" yaml:"discoveryUrl"`
// Represents inbound authorization configuration options used to authenticate incoming requests.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-customjwtauthorizerconfiguration.html#cfn-bedrockagentcore-runtime-customjwtauthorizerconfiguration-allowedaudience
//
AllowedAudience *[]*string `field:"optional" json:"allowedAudience" yaml:"allowedAudience"`
// Represents individual client IDs that are validated in the incoming JWT token validation process.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-customjwtauthorizerconfiguration.html#cfn-bedrockagentcore-runtime-customjwtauthorizerconfiguration-allowedclients
//
AllowedClients *[]*string `field:"optional" json:"allowedClients" yaml:"allowedClients"`
}
Configuration for custom JWT authorizer.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
customJWTAuthorizerConfigurationProperty := &CustomJWTAuthorizerConfigurationProperty{
DiscoveryUrl: jsii.String("discoveryUrl"),
// the properties below are optional
AllowedAudience: []*string{
jsii.String("allowedAudience"),
},
AllowedClients: []*string{
jsii.String("allowedClients"),
},
}
type CfnRuntime_LifecycleConfigurationProperty ¶ added in v2.224.0
type CfnRuntime_LifecycleConfigurationProperty struct {
// Timeout in seconds for idle runtime sessions.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-lifecycleconfiguration.html#cfn-bedrockagentcore-runtime-lifecycleconfiguration-idleruntimesessiontimeout
//
IdleRuntimeSessionTimeout *float64 `field:"optional" json:"idleRuntimeSessionTimeout" yaml:"idleRuntimeSessionTimeout"`
// Maximum lifetime in seconds for runtime sessions.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-lifecycleconfiguration.html#cfn-bedrockagentcore-runtime-lifecycleconfiguration-maxlifetime
//
MaxLifetime *float64 `field:"optional" json:"maxLifetime" yaml:"maxLifetime"`
}
Configuration for managing the lifecycle of runtime sessions and resources.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
lifecycleConfigurationProperty := &LifecycleConfigurationProperty{
IdleRuntimeSessionTimeout: jsii.Number(123),
MaxLifetime: jsii.Number(123),
}
type CfnRuntime_NetworkConfigurationProperty ¶
type CfnRuntime_NetworkConfigurationProperty struct {
// The network mode.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-networkconfiguration.html#cfn-bedrockagentcore-runtime-networkconfiguration-networkmode
//
NetworkMode *string `field:"required" json:"networkMode" yaml:"networkMode"`
// Network mode configuration for VPC.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-networkconfiguration.html#cfn-bedrockagentcore-runtime-networkconfiguration-networkmodeconfig
//
NetworkModeConfig interface{} `field:"optional" json:"networkModeConfig" yaml:"networkModeConfig"`
}
The network configuration for the agent.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
networkConfigurationProperty := &NetworkConfigurationProperty{
NetworkMode: jsii.String("networkMode"),
// the properties below are optional
NetworkModeConfig: &VpcConfigProperty{
SecurityGroups: []*string{
jsii.String("securityGroups"),
},
Subnets: []*string{
jsii.String("subnets"),
},
},
}
type CfnRuntime_RequestHeaderConfigurationProperty ¶ added in v2.224.0
type CfnRuntime_RequestHeaderConfigurationProperty struct {
// List of allowed HTTP headers for agent runtime requests.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-requestheaderconfiguration.html#cfn-bedrockagentcore-runtime-requestheaderconfiguration-requestheaderallowlist
//
RequestHeaderAllowlist *[]*string `field:"optional" json:"requestHeaderAllowlist" yaml:"requestHeaderAllowlist"`
}
Configuration for HTTP request headers.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
requestHeaderConfigurationProperty := &RequestHeaderConfigurationProperty{
RequestHeaderAllowlist: []*string{
jsii.String("requestHeaderAllowlist"),
},
}
type CfnRuntime_S3LocationProperty ¶ added in v2.224.0
type CfnRuntime_S3LocationProperty struct {
// S3 bucket name.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-s3location.html#cfn-bedrockagentcore-runtime-s3location-bucket
//
Bucket *string `field:"required" json:"bucket" yaml:"bucket"`
// S3 object key prefix.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-s3location.html#cfn-bedrockagentcore-runtime-s3location-prefix
//
Prefix *string `field:"required" json:"prefix" yaml:"prefix"`
// S3 object version ID.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-s3location.html#cfn-bedrockagentcore-runtime-s3location-versionid
//
VersionId *string `field:"optional" json:"versionId" yaml:"versionId"`
}
S3 Location Configuration.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
s3LocationProperty := &S3LocationProperty{
Bucket: jsii.String("bucket"),
Prefix: jsii.String("prefix"),
// the properties below are optional
VersionId: jsii.String("versionId"),
}
type CfnRuntime_VpcConfigProperty ¶ added in v2.220.0
type CfnRuntime_VpcConfigProperty struct {
// Security groups for VPC.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-vpcconfig.html#cfn-bedrockagentcore-runtime-vpcconfig-securitygroups
//
SecurityGroups *[]*string `field:"required" json:"securityGroups" yaml:"securityGroups"`
// Subnets for VPC.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-vpcconfig.html#cfn-bedrockagentcore-runtime-vpcconfig-subnets
//
Subnets *[]*string `field:"required" json:"subnets" yaml:"subnets"`
}
Network mode configuration for VPC.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
vpcConfigProperty := &VpcConfigProperty{
SecurityGroups: []*string{
jsii.String("securityGroups"),
},
Subnets: []*string{
jsii.String("subnets"),
},
}
type CfnRuntime_WorkloadIdentityDetailsProperty ¶
type CfnRuntime_WorkloadIdentityDetailsProperty struct {
// The Amazon Resource Name (ARN) for the workload identity.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-bedrockagentcore-runtime-workloadidentitydetails.html#cfn-bedrockagentcore-runtime-workloadidentitydetails-workloadidentityarn
//
WorkloadIdentityArn *string `field:"required" json:"workloadIdentityArn" yaml:"workloadIdentityArn"`
}
The workload identity details for the agent.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
workloadIdentityDetailsProperty := &WorkloadIdentityDetailsProperty{
WorkloadIdentityArn: jsii.String("workloadIdentityArn"),
}
type CfnWorkloadIdentity ¶ added in v2.224.0
type CfnWorkloadIdentity interface {
awscdk.CfnResource
awscdk.IInspectable
interfacesawsbedrockagentcore.IWorkloadIdentityRef
awscdk.ITaggableV2
// The list of allowed OAuth2 return URLs for resources associated with this workload identity.
AllowedResourceOauth2ReturnUrls() *[]*string
SetAllowedResourceOauth2ReturnUrls(val *[]*string)
// The timestamp when the workload identity was created.
AttrCreatedTime() awscdk.IResolvable
// The timestamp when the workload identity was last updated.
AttrLastUpdatedTime() awscdk.IResolvable
// The Amazon Resource Name (ARN) of the workload identity.
AttrWorkloadIdentityArn() *string
// Tag Manager which manages the tags for this resource.
CdkTagManager() awscdk.TagManager
// Options for this resource, such as condition, update policy etc.
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
// AWS resource type.
CfnResourceType() *string
// Returns: the stack trace of the point where this Resource was created from, sourced
// from the +metadata+ entry typed +aws:cdk:logicalId+, and with the bottom-most
// node +internal+ entries filtered.
CreationStack() *[]*string
Env() *interfaces.ResourceEnvironment
// The logical ID for this CloudFormation stack element.
//
// The logical ID of the element
// is calculated from the path of the resource node in the construct tree.
//
// To override this value, use `overrideLogicalId(newLogicalId)`.
//
// Returns: the logical ID as a stringified token. This value will only get
// resolved during synthesis.
LogicalId() *string
// The name of the workload identity.
Name() *string
SetName(val *string)
// The tree node.
Node() constructs.Node
// Return a string that will be resolved to a CloudFormation `{ Ref }` for this element.
//
// If, by any chance, the intrinsic reference of a resource is not a string, you could
// coerce it to an IResolvable through `Lazy.any({ produce: resource.ref })`.
Ref() *string
// The stack in which this element is defined.
//
// CfnElements must be defined within a stack scope (directly or indirectly).
Stack() awscdk.Stack
// The tags for the workload identity.
Tags() *[]*awscdk.CfnTag
SetTags(val *[]*awscdk.CfnTag)
// Deprecated.
// Deprecated: use `updatedProperties`
//
// Return properties modified after initiation
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperites() *map[string]interface{}
// Return properties modified after initiation.
//
// Resources that expose mutable properties should override this function to
// collect and return the properties object for this resource.
UpdatedProperties() *map[string]interface{}
// A reference to a WorkloadIdentity resource.
WorkloadIdentityRef() *interfacesawsbedrockagentcore.WorkloadIdentityReference
// Syntactic sugar for `addOverride(path, undefined)`.
AddDeletionOverride(path *string)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
//
// This can be used for resources across stacks (or nested stack) boundaries
// and the dependency will automatically be transferred to the relevant scope.
AddDependency(target awscdk.CfnResource)
// Indicates that this resource depends on another resource and cannot be provisioned unless the other resource has been successfully provisioned.
// Deprecated: use addDependency.
AddDependsOn(target awscdk.CfnResource)
// Add a value to the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
AddMetadata(key *string, value interface{})
// Adds an override to the synthesized CloudFormation resource.
//
// To add a
// property override, either use `addPropertyOverride` or prefix `path` with
// "Properties." (i.e. `Properties.TopicName`).
//
// If the override is nested, separate each nested level using a dot (.) in the path parameter.
// If there is an array as part of the nesting, specify the index in the path.
//
// To include a literal `.` in the property name, prefix with a `\`. In most
// programming languages you will need to write this as `"\\."` because the
// `\` itself will need to be escaped.
//
// For example,
// “`typescript
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.0.Projection.NonKeyAttributes', ['myattribute']);
// cfnResource.addOverride('Properties.GlobalSecondaryIndexes.1.ProjectionType', 'INCLUDE');
// “`
// would add the overrides
// “`json
// "Properties": {
// "GlobalSecondaryIndexes": [
// {
// "Projection": {
// "NonKeyAttributes": [ "myattribute" ]
// ...
// }
// ...
// },
// {
// "ProjectionType": "INCLUDE"
// ...
// },
// ]
// ...
// }
// “`
//
// The `value` argument to `addOverride` will not be processed or translated
// in any way. Pass raw JSON values in here with the correct capitalization
// for CloudFormation. If you pass CDK classes or structs, they will be
// rendered with lowercased key names, and CloudFormation will reject the
// template.
AddOverride(path *string, value interface{})
// Adds an override that deletes the value of a property from the resource definition.
AddPropertyDeletionOverride(propertyPath *string)
// Adds an override to a resource property.
//
// Syntactic sugar for `addOverride("Properties.<...>", value)`.
AddPropertyOverride(propertyPath *string, value interface{})
// Sets the deletion policy of the resource based on the removal policy specified.
//
// The Removal Policy controls what happens to this resource when it stops
// being managed by CloudFormation, either because you've removed it from the
// CDK application or because you've made a change that requires the resource
// to be replaced.
//
// The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
// account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). In some
// cases, a snapshot can be taken of the resource prior to deletion
// (`RemovalPolicy.SNAPSHOT`). A list of resources that support this policy
// can be found in the following link:.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html#aws-attribute-deletionpolicy-options
//
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
// Returns a token for an runtime attribute of this resource.
//
// Ideally, use generated attribute accessors (e.g. `resource.arn`), but this can be used for future compatibility
// in case there is no generated attribute.
GetAtt(attributeName *string, typeHint awscdk.ResolutionTypeHint) awscdk.Reference
// Retrieve a value value from the CloudFormation Resource Metadata.
// See: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/metadata-section-structure.html
//
// Note that this is a different set of metadata from CDK node metadata; this
// metadata ends up in the stack template under the resource, whereas CDK
// node metadata ends up in the Cloud Assembly.
//
GetMetadata(key *string) interface{}
// Examines the CloudFormation resource and discloses attributes.
Inspect(inspector awscdk.TreeInspector)
// Retrieves an array of resources this resource depends on.
//
// This assembles dependencies on resources across stacks (including nested stacks)
// automatically.
ObtainDependencies() *[]interface{}
// Get a shallow copy of dependencies between this resource and other resources in the same stack.
ObtainResourceDependencies() *[]awscdk.CfnResource
// Overrides the auto-generated logical ID with a specific ID.
OverrideLogicalId(newLogicalId *string)
// Indicates that this resource no longer depends on another resource.
//
// This can be used for resources across stacks (including nested stacks)
// and the dependency will automatically be removed from the relevant scope.
RemoveDependency(target awscdk.CfnResource)
RenderProperties(props *map[string]interface{}) *map[string]interface{}
// Replaces one dependency with another.
ReplaceDependency(target awscdk.CfnResource, newTarget awscdk.CfnResource)
// Can be overridden by subclasses to determine if this resource will be rendered into the cloudformation template.
//
// Returns: `true` if the resource should be included or `false` is the resource
// should be omitted.
ShouldSynthesize() *bool
// Returns a string representation of this construct.
//
// Returns: a string representation of this resource.
ToString() *string
ValidateProperties(_properties interface{})
}
Creates a workload identity for Amazon Bedrock AgentCore.
A workload identity provides OAuth2-based authentication for resources associated with agent runtimes.
For more information about using workload identities in Amazon Bedrock AgentCore, see [Managing workload identities](https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/workload-identity.html) .
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 "github.com/aws/aws-cdk-go/awscdk"
cfnWorkloadIdentity := awscdk.Aws_bedrockagentcore.NewCfnWorkloadIdentity(this, jsii.String("MyCfnWorkloadIdentity"), &CfnWorkloadIdentityProps{
Name: jsii.String("name"),
// the properties below are optional
AllowedResourceOauth2ReturnUrls: []*string{
jsii.String("allowedResourceOauth2ReturnUrls"),
},
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
})
func NewCfnWorkloadIdentity ¶ added in v2.224.0
func NewCfnWorkloadIdentity(scope constructs.Construct, id *string, props *CfnWorkloadIdentityProps) CfnWorkloadIdentity
Create a new `AWS::BedrockAgentCore::WorkloadIdentity`.
type CfnWorkloadIdentityProps ¶ added in v2.224.0
type CfnWorkloadIdentityProps struct {
// The name of the workload identity.
//
// The name must be unique within your account.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-workloadidentity.html#cfn-bedrockagentcore-workloadidentity-name
//
Name *string `field:"required" json:"name" yaml:"name"`
// The list of allowed OAuth2 return URLs for resources associated with this workload identity.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-workloadidentity.html#cfn-bedrockagentcore-workloadidentity-allowedresourceoauth2returnurls
//
AllowedResourceOauth2ReturnUrls *[]*string `field:"optional" json:"allowedResourceOauth2ReturnUrls" yaml:"allowedResourceOauth2ReturnUrls"`
// The tags for the workload identity.
// See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-workloadidentity.html#cfn-bedrockagentcore-workloadidentity-tags
//
Tags *[]*awscdk.CfnTag `field:"optional" json:"tags" yaml:"tags"`
}
Properties for defining a `CfnWorkloadIdentity`.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
cfnWorkloadIdentityProps := &CfnWorkloadIdentityProps{
Name: jsii.String("name"),
// the properties below are optional
AllowedResourceOauth2ReturnUrls: []*string{
jsii.String("allowedResourceOauth2ReturnUrls"),
},
Tags: []CfnTag{
&CfnTag{
Key: jsii.String("key"),
Value: jsii.String("value"),
},
},
}
Source Files
¶
- CfnBrowserCustom.go
- CfnBrowserCustomProps.go
- CfnBrowserCustom_BrowserNetworkConfigurationProperty.go
- CfnBrowserCustom_BrowserSigningProperty.go
- CfnBrowserCustom_RecordingConfigProperty.go
- CfnBrowserCustom_S3LocationProperty.go
- CfnBrowserCustom_VpcConfigProperty.go
- CfnBrowserCustom__checks.go
- CfnCodeInterpreterCustom.go
- CfnCodeInterpreterCustomProps.go
- CfnCodeInterpreterCustom_CodeInterpreterNetworkConfigurationProperty.go
- CfnCodeInterpreterCustom_VpcConfigProperty.go
- CfnCodeInterpreterCustom__checks.go
- CfnGateway.go
- CfnGatewayProps.go
- CfnGatewayTarget.go
- CfnGatewayTargetProps.go
- CfnGatewayTarget_ApiKeyCredentialProviderProperty.go
- CfnGatewayTarget_ApiSchemaConfigurationProperty.go
- CfnGatewayTarget_CredentialProviderConfigurationProperty.go
- CfnGatewayTarget_CredentialProviderProperty.go
- CfnGatewayTarget_McpLambdaTargetConfigurationProperty.go
- CfnGatewayTarget_McpServerTargetConfigurationProperty.go
- CfnGatewayTarget_McpTargetConfigurationProperty.go
- CfnGatewayTarget_OAuthCredentialProviderProperty.go
- CfnGatewayTarget_S3ConfigurationProperty.go
- CfnGatewayTarget_SchemaDefinitionProperty.go
- CfnGatewayTarget_TargetConfigurationProperty.go
- CfnGatewayTarget_ToolDefinitionProperty.go
- CfnGatewayTarget_ToolSchemaProperty.go
- CfnGatewayTarget__checks.go
- CfnGateway_AuthorizerConfigurationProperty.go
- CfnGateway_CustomJWTAuthorizerConfigurationProperty.go
- CfnGateway_GatewayProtocolConfigurationProperty.go
- CfnGateway_MCPGatewayConfigurationProperty.go
- CfnGateway_WorkloadIdentityDetailsProperty.go
- CfnGateway__checks.go
- CfnMemory.go
- CfnMemoryProps.go
- CfnMemory_CustomConfigurationInputProperty.go
- CfnMemory_CustomMemoryStrategyProperty.go
- CfnMemory_InvocationConfigurationInputProperty.go
- CfnMemory_MemoryStrategyProperty.go
- CfnMemory_MessageBasedTriggerInputProperty.go
- CfnMemory_SelfManagedConfigurationProperty.go
- CfnMemory_SemanticMemoryStrategyProperty.go
- CfnMemory_SemanticOverrideConsolidationConfigurationInputProperty.go
- CfnMemory_SemanticOverrideExtractionConfigurationInputProperty.go
- CfnMemory_SemanticOverrideProperty.go
- CfnMemory_SummaryMemoryStrategyProperty.go
- CfnMemory_SummaryOverrideConsolidationConfigurationInputProperty.go
- CfnMemory_SummaryOverrideProperty.go
- CfnMemory_TimeBasedTriggerInputProperty.go
- CfnMemory_TokenBasedTriggerInputProperty.go
- CfnMemory_TriggerConditionInputProperty.go
- CfnMemory_UserPreferenceMemoryStrategyProperty.go
- CfnMemory_UserPreferenceOverrideConsolidationConfigurationInputProperty.go
- CfnMemory_UserPreferenceOverrideExtractionConfigurationInputProperty.go
- CfnMemory_UserPreferenceOverrideProperty.go
- CfnMemory__checks.go
- CfnRuntime.go
- CfnRuntimeEndpoint.go
- CfnRuntimeEndpointProps.go
- CfnRuntimeEndpoint__checks.go
- CfnRuntimeProps.go
- CfnRuntime_AgentRuntimeArtifactProperty.go
- CfnRuntime_AuthorizerConfigurationProperty.go
- CfnRuntime_CodeConfigurationProperty.go
- CfnRuntime_CodeProperty.go
- CfnRuntime_ContainerConfigurationProperty.go
- CfnRuntime_CustomJWTAuthorizerConfigurationProperty.go
- CfnRuntime_LifecycleConfigurationProperty.go
- CfnRuntime_NetworkConfigurationProperty.go
- CfnRuntime_RequestHeaderConfigurationProperty.go
- CfnRuntime_S3LocationProperty.go
- CfnRuntime_VpcConfigProperty.go
- CfnRuntime_WorkloadIdentityDetailsProperty.go
- CfnRuntime__checks.go
- CfnWorkloadIdentity.go
- CfnWorkloadIdentityProps.go
- CfnWorkloadIdentity__checks.go
- main.go