Skip to content
v2.277.0

CertificateConfigurationProperty 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 certificateConfigurationProperty: bedrockagentcore.CfnGatewayTarget.CertificateConfigurationProperty = {
  s3: {
    uri: 'uri',

    // the properties below are optional
    bucketOwnerAccountId: 'bucketOwnerAccountId',
  },
  secretsManager: {
    secretArn: 'secretArn',
  },
};
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

certificate_configuration_property = bedrockagentcore.CfnGatewayTarget.CertificateConfigurationProperty(
    s3=bedrockagentcore.CfnGatewayTarget.S3CertificateConfigurationProperty(
        uri="uri",

        # the properties below are optional
        bucket_owner_account_id="bucketOwnerAccountId"
    ),
    secrets_manager=bedrockagentcore.CfnGatewayTarget.SecretsManagerCertificateConfigurationProperty(
        secret_arn="secretArn"
    )
)
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.*;

CertificateConfigurationProperty certificateConfigurationProperty = CertificateConfigurationProperty.builder()
        .s3(S3CertificateConfigurationProperty.builder()
                .uri("uri")

                // the properties below are optional
                .bucketOwnerAccountId("bucketOwnerAccountId")
                .build())
        .secretsManager(SecretsManagerCertificateConfigurationProperty.builder()
                .secretArn("secretArn")
                .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 certificateConfigurationProperty = new CertificateConfigurationProperty {
    S3 = new S3CertificateConfigurationProperty {
        Uri = "uri",

        // the properties below are optional
        BucketOwnerAccountId = "bucketOwnerAccountId"
    },
    SecretsManager = new SecretsManagerCertificateConfigurationProperty {
        SecretArn = "secretArn"
    }
};
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"

certificateConfigurationProperty := &CertificateConfigurationProperty{
	S3: &S3CertificateConfigurationProperty{
		Uri: jsii.String("uri"),

		// the properties below are optional
		BucketOwnerAccountId: jsii.String("bucketOwnerAccountId"),
	},
	SecretsManager: &SecretsManagerCertificateConfigurationProperty{
		SecretArn: jsii.String("secretArn"),
	},
}

Properties ​

secretsManageroptionalIResolvable | CfnGatewayTarget.SecretsManagerCertificateConfigurationPropertysecrets_manageroptionaltyping.Union[IResolvable, SecretsManagerCertificateConfigurationProperty]secretsManageroptionalIResolvableSecretsManageroptionalIResolvableSecretsManageroptionalinterface{} #