# S3LocationProperty

- Source: Generated at build time
- Type last changed: v2.276.0 · 10 Nov 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_iot as iot } from 'aws-cdk-lib';
const s3LocationProperty: iot.CfnOTAUpdate.S3LocationProperty = {
  bucket: 'bucket',
  key: 'key',
  version: 'version',
};
```

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_iot as iot

s3_location_property = iot.CfnOTAUpdate.S3LocationProperty(
    bucket="bucket",
    key="key",
    version="version"
)
```

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.iot.*;

S3LocationProperty s3LocationProperty = S3LocationProperty.builder()
        .bucket("bucket")
        .key("key")
        .version("version")
        .build();
```

C# / .NET:

```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.IoT;

var s3LocationProperty = new S3LocationProperty {
    Bucket = "bucket",
    Key = "key",
    Version = "version"
};
```

Golang:

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

s3LocationProperty := &S3LocationProperty{
	Bucket: jsii.String("bucket"),
	Key: jsii.String("key"),
	Version: jsii.String("version"),
}
```

## Properties

- `bucket`: string — The S3 bucket.

- `key`: string — The S3 key.

- `version`: string — The S3 bucket version.
