KinesisResourceProperty
Struct External
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrockagentcore as bedrockagentcore } from 'aws-cdk-lib';
const kinesisResourceProperty: bedrockagentcore.CfnMemory.KinesisResourceProperty = {
contentConfigurations: [{
type: 'type',
// the properties below are optional
level: 'level',
}],
dataStreamArn: 'dataStreamArn',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_bedrockagentcore as bedrockagentcore
kinesis_resource_property = bedrockagentcore.CfnMemory.KinesisResourceProperty(
content_configurations=[bedrockagentcore.CfnMemory.ContentConfigurationProperty(
type="type",
# the properties below are optional
level="level"
)],
data_stream_arn="dataStreamArn"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrockagentcore.*;
KinesisResourceProperty kinesisResourceProperty = KinesisResourceProperty.builder()
.contentConfigurations(List.of(ContentConfigurationProperty.builder()
.type("type")
// the properties below are optional
.level("level")
.build()))
.dataStreamArn("dataStreamArn")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.BedrockAgentCore;
var kinesisResourceProperty = new KinesisResourceProperty {
ContentConfigurations = new [] { new ContentConfigurationProperty {
Type = "type",
// the properties below are optional
Level = "level"
} },
DataStreamArn = "dataStreamArn"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// 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"
kinesisResourceProperty := &KinesisResourceProperty{
ContentConfigurations: []interface{}{
&ContentConfigurationProperty{
Type: jsii.String("type"),
// the properties below are optional
Level: jsii.String("level"),
},
},
DataStreamArn: jsii.String("dataStreamArn"),
}
Properties
contentConfigurationsIResolvable | IResolvable | CfnMemory.content_configurationstyping.Union[IResolvable, typing.List[typing.Union[IResolvable, ContentConfigurationProperty]]]contentConfigurationsIResolvableContentConfigurationsIResolvableContentConfigurationsinterface{} required #dataStreamArnstringdata_stream_arnstrdataStreamArnStringDataStreamArnstringDataStreamArn*string required #ARN format.