Skip to content
v2.278.0

S3PropertiesInputProperty Struct ​

S3 Properties Input.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_datazone as datazone } from 'aws-cdk-lib';
const s3PropertiesInputProperty: datazone.CfnConnection.S3PropertiesInputProperty = {
  s3Uri: 's3Uri',

  // the properties below are optional
  registerS3AccessGrantLocation: false,
  s3AccessGrantLocationId: 's3AccessGrantLocationId',
};
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_datazone as datazone

s3_properties_input_property = datazone.CfnConnection.S3PropertiesInputProperty(
    s3_uri="s3Uri",

    # the properties below are optional
    register_s3_access_grant_location=False,
    s3_access_grant_location_id="s3AccessGrantLocationId"
)
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.datazone.*;

S3PropertiesInputProperty s3PropertiesInputProperty = S3PropertiesInputProperty.builder()
        .s3Uri("s3Uri")

        // the properties below are optional
        .registerS3AccessGrantLocation(false)
        .s3AccessGrantLocationId("s3AccessGrantLocationId")
        .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.DataZone;

var s3PropertiesInputProperty = new S3PropertiesInputProperty {
    S3Uri = "s3Uri",

    // the properties below are optional
    RegisterS3AccessGrantLocation = false,
    S3AccessGrantLocationId = "s3AccessGrantLocationId"
};
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"

s3PropertiesInputProperty := &S3PropertiesInputProperty{
	S3Uri: jsii.String("s3Uri"),

	// the properties below are optional
	RegisterS3AccessGrantLocation: jsii.Boolean(false),
	S3AccessGrantLocationId: jsii.String("s3AccessGrantLocationId"),
}

Properties ​

registerS3AccessGrantLocationoptionalboolean | IResolvableregister_s3_access_grant_locationoptionaltyping.Union[bool, IResolvable]registerS3AccessGrantLocationoptionalBooleanRegisterS3AccessGrantLocationoptionalboolRegisterS3AccessGrantLocationoptionalinterface{} #
Specifies whether to register the S3 Access Grant location.
s3AccessGrantLocationIdoptionalstrings3_access_grant_location_idoptionalstrs3AccessGrantLocationIdoptionalStringS3AccessGrantLocationIdoptionalstringS3AccessGrantLocationIdoptional*string #
The Amazon S3 Access Grant location ID that's part of the Amazon S3 properties of a connection.
s3Uristrings3_uristrs3UriStringS3UristringS3Uri*string required #
The Amazon S3 URI that's part of the Amazon S3 properties of a connection.