CfnHarnessEndpointPropsMixin

class aws_cdk.cfn_property_mixins.aws_bedrockagentcore.CfnHarnessEndpointPropsMixin(props, *, strategy=None)

Bases: Mixin

Resource Type definition for AWS::BedrockAgentCore::HarnessEndpoint - a named, stable reference to a specific version of a Harness that callers invoke, allowing the underlying version to be updated without changing how the agent is invoked.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-bedrockagentcore-harnessendpoint.html

CloudformationResource:

AWS::BedrockAgentCore::HarnessEndpoint

Mixin:

true

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.cfn_property_mixins import aws_bedrockagentcore as bedrockagentcore
import aws_cdk as cdk

# merge_strategy: cdk.IMergeStrategy

cfn_harness_endpoint_props_mixin = bedrockagentcore.CfnHarnessEndpointPropsMixin(bedrockagentcore.CfnHarnessEndpointMixinProps(
    description="description",
    endpoint_name="endpointName",
    harness_id="harnessId",
    tags=[cdk.CfnTag(
        key="key",
        value="value"
    )],
    target_version="targetVersion"
),
    strategy=merge_strategy
)

Create a mixin to apply properties to AWS::BedrockAgentCore::HarnessEndpoint.

Parameters:
  • props (Union[CfnHarnessEndpointMixinProps, Dict[str, Any]]) – L1 properties to apply.

  • strategy (Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()

Methods

apply_to(construct)

Apply the mixin properties to the construct.

Parameters:

construct (IConstruct)

Return type:

None

supports(construct)

Check if this mixin supports the given construct.

Parameters:

construct (IConstruct)

Return type:

bool

Attributes

CFN_PROPERTY_KEYS = ['description', 'endpointName', 'harnessId', 'tags', 'targetVersion']

Static Methods

classmethod is_mixin(x)

Checks if x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.