# S3PropertiesInputProperty

Struct · External

S3 Properties Input.

- Source: Generated at build time
- Type last changed: v2.254.0 · 13 May 2026

## Example

TypeScript:

```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:

```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:

```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();
```

C#:

```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:

```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

- `registerS3AccessGrantLocation`: boolean | [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) — Specifies whether to register the S3 Access Grant location.

- `s3AccessGrantLocationId`: string — The Amazon S3 Access Grant location ID that's part of the Amazon S3 properties of a connection.

- `s3Uri`: string (required) — The Amazon S3 URI that's part of the Amazon S3 properties of a connection.
