Skip to content
v2.278.0

SourceS3ConfigurationProperty Struct ​

S3 configuration for source network data.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mgn as mgn } from 'aws-cdk-lib';
const sourceS3ConfigurationProperty: mgn.CfnNetworkMigrationDefinition.SourceS3ConfigurationProperty = {
  s3Bucket: 's3Bucket',
  s3BucketOwner: 's3BucketOwner',
  s3Key: 's3Key',
};
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_mgn as mgn

source_s3_configuration_property = mgn.CfnNetworkMigrationDefinition.SourceS3ConfigurationProperty(
    s3_bucket="s3Bucket",
    s3_bucket_owner="s3BucketOwner",
    s3_key="s3Key"
)
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.mgn.*;

SourceS3ConfigurationProperty sourceS3ConfigurationProperty = SourceS3ConfigurationProperty.builder()
        .s3Bucket("s3Bucket")
        .s3BucketOwner("s3BucketOwner")
        .s3Key("s3Key")
        .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.MGN;

var sourceS3ConfigurationProperty = new SourceS3ConfigurationProperty {
    S3Bucket = "s3Bucket",
    S3BucketOwner = "s3BucketOwner",
    S3Key = "s3Key"
};
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"

sourceS3ConfigurationProperty := &SourceS3ConfigurationProperty{
	S3Bucket: jsii.String("s3Bucket"),
	S3BucketOwner: jsii.String("s3BucketOwner"),
	S3Key: jsii.String("s3Key"),
}

Properties ​

s3Bucketstrings3_bucketstrs3BucketStringS3BucketstringS3Bucket*string required #
The name of the S3 bucket containing source data.
s3BucketOwnerstrings3_bucket_ownerstrs3BucketOwnerStringS3BucketOwnerstringS3BucketOwner*string required #
The AWS account ID of the S3 bucket owner.
s3Keystrings3_keystrs3KeyStringS3KeystringS3Key*string required #
The S3 key (path) for the source data.