Skip to content
v2.278.0

StreamDeliveryResourcesProperty Struct ​

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 streamDeliveryResourcesProperty: bedrockagentcore.CfnMemory.StreamDeliveryResourcesProperty = {
  resources: [{
    kinesis: {
      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

stream_delivery_resources_property = bedrockagentcore.CfnMemory.StreamDeliveryResourcesProperty(
    resources=[bedrockagentcore.CfnMemory.StreamDeliveryResourceProperty(
        kinesis=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.*;

StreamDeliveryResourcesProperty streamDeliveryResourcesProperty = StreamDeliveryResourcesProperty.builder()
        .resources(List.of(StreamDeliveryResourceProperty.builder()
                .kinesis(KinesisResourceProperty.builder()
                        .contentConfigurations(List.of(ContentConfigurationProperty.builder()
                                .type("type")

                                // the properties below are optional
                                .level("level")
                                .build()))
                        .dataStreamArn("dataStreamArn")
                        .build())
                .build()))
        .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 streamDeliveryResourcesProperty = new StreamDeliveryResourcesProperty {
    Resources = new [] { new StreamDeliveryResourceProperty {
        Kinesis = 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"

streamDeliveryResourcesProperty := &StreamDeliveryResourcesProperty{
	Resources: []interface{}{
		&StreamDeliveryResourceProperty{
			Kinesis: &KinesisResourceProperty{
				ContentConfigurations: []interface{}{
					&ContentConfigurationProperty{
						Type: jsii.String("type"),

						// the properties below are optional
						Level: jsii.String("level"),
					},
				},
				DataStreamArn: jsii.String("dataStreamArn"),
			},
		},
	},
}

Properties ​

resourcesIResolvable | IResolvable | CfnMemory.StreamDeliveryResourceProperty[]resourcestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, StreamDeliveryResourceProperty]]]resourcesIResolvableResourcesIResolvableResourcesinterface{} required #