1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. s3express
  5. DirectoryBucket

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

aws-native.s3express.DirectoryBucket

Explore with Pulumi AI

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

Resource Type definition for AWS::S3Express::DirectoryBucket.

Create DirectoryBucket Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new DirectoryBucket(name: string, args: DirectoryBucketArgs, opts?: CustomResourceOptions);
@overload
def DirectoryBucket(resource_name: str,
                    args: DirectoryBucketArgs,
                    opts: Optional[ResourceOptions] = None)

@overload
def DirectoryBucket(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    data_redundancy: Optional[DirectoryBucketDataRedundancy] = None,
                    location_name: Optional[str] = None,
                    bucket_encryption: Optional[DirectoryBucketBucketEncryptionArgs] = None,
                    bucket_name: Optional[str] = None,
                    lifecycle_configuration: Optional[DirectoryBucketLifecycleConfigurationArgs] = None)
func NewDirectoryBucket(ctx *Context, name string, args DirectoryBucketArgs, opts ...ResourceOption) (*DirectoryBucket, error)
public DirectoryBucket(string name, DirectoryBucketArgs args, CustomResourceOptions? opts = null)
public DirectoryBucket(String name, DirectoryBucketArgs args)
public DirectoryBucket(String name, DirectoryBucketArgs args, CustomResourceOptions options)
type: aws-native:s3express:DirectoryBucket
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. DirectoryBucketArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. DirectoryBucketArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. DirectoryBucketArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. DirectoryBucketArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DirectoryBucketArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

DirectoryBucket Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The DirectoryBucket resource accepts the following input properties:

DataRedundancy This property is required. Pulumi.AwsNative.S3Express.DirectoryBucketDataRedundancy
Specifies the number of Availability Zone or Local Zone that's used for redundancy for the bucket.
LocationName This property is required. string
Specifies the Zone ID of the Availability Zone or Local Zone where the directory bucket will be created. An example Availability Zone ID value is 'use1-az5'.
BucketEncryption Pulumi.AwsNative.S3Express.Inputs.DirectoryBucketBucketEncryption
Specifies default encryption for a bucket using server-side encryption with Amazon S3 managed keys (SSE-S3) or AWS KMS keys (SSE-KMS). For information about default encryption for directory buckets, see Setting and monitoring default encryption for directory buckets in the Amazon S3 User Guide .
BucketName string
Specifies a name for the bucket. The bucket name must contain only lowercase letters, numbers, and hyphens (-). A directory bucket name must be unique in the chosen Availability Zone or Local Zone. The bucket name must also follow the format 'bucket_base_name--zone_id--x-s3'. The zone_id can be the ID of an Availability Zone or a Local Zone. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the bucket name.
LifecycleConfiguration Pulumi.AwsNative.S3Express.Inputs.DirectoryBucketLifecycleConfiguration
Lifecycle rules that define how Amazon S3 Express manages objects during their lifetime.
DataRedundancy This property is required. DirectoryBucketDataRedundancy
Specifies the number of Availability Zone or Local Zone that's used for redundancy for the bucket.
LocationName This property is required. string
Specifies the Zone ID of the Availability Zone or Local Zone where the directory bucket will be created. An example Availability Zone ID value is 'use1-az5'.
BucketEncryption DirectoryBucketBucketEncryptionArgs
Specifies default encryption for a bucket using server-side encryption with Amazon S3 managed keys (SSE-S3) or AWS KMS keys (SSE-KMS). For information about default encryption for directory buckets, see Setting and monitoring default encryption for directory buckets in the Amazon S3 User Guide .
BucketName string
Specifies a name for the bucket. The bucket name must contain only lowercase letters, numbers, and hyphens (-). A directory bucket name must be unique in the chosen Availability Zone or Local Zone. The bucket name must also follow the format 'bucket_base_name--zone_id--x-s3'. The zone_id can be the ID of an Availability Zone or a Local Zone. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the bucket name.
LifecycleConfiguration DirectoryBucketLifecycleConfigurationArgs
Lifecycle rules that define how Amazon S3 Express manages objects during their lifetime.
dataRedundancy This property is required. DirectoryBucketDataRedundancy
Specifies the number of Availability Zone or Local Zone that's used for redundancy for the bucket.
locationName This property is required. String
Specifies the Zone ID of the Availability Zone or Local Zone where the directory bucket will be created. An example Availability Zone ID value is 'use1-az5'.
bucketEncryption DirectoryBucketBucketEncryption
Specifies default encryption for a bucket using server-side encryption with Amazon S3 managed keys (SSE-S3) or AWS KMS keys (SSE-KMS). For information about default encryption for directory buckets, see Setting and monitoring default encryption for directory buckets in the Amazon S3 User Guide .
bucketName String
Specifies a name for the bucket. The bucket name must contain only lowercase letters, numbers, and hyphens (-). A directory bucket name must be unique in the chosen Availability Zone or Local Zone. The bucket name must also follow the format 'bucket_base_name--zone_id--x-s3'. The zone_id can be the ID of an Availability Zone or a Local Zone. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the bucket name.
lifecycleConfiguration DirectoryBucketLifecycleConfiguration
Lifecycle rules that define how Amazon S3 Express manages objects during their lifetime.
dataRedundancy This property is required. DirectoryBucketDataRedundancy
Specifies the number of Availability Zone or Local Zone that's used for redundancy for the bucket.
locationName This property is required. string
Specifies the Zone ID of the Availability Zone or Local Zone where the directory bucket will be created. An example Availability Zone ID value is 'use1-az5'.
bucketEncryption DirectoryBucketBucketEncryption
Specifies default encryption for a bucket using server-side encryption with Amazon S3 managed keys (SSE-S3) or AWS KMS keys (SSE-KMS). For information about default encryption for directory buckets, see Setting and monitoring default encryption for directory buckets in the Amazon S3 User Guide .
bucketName string
Specifies a name for the bucket. The bucket name must contain only lowercase letters, numbers, and hyphens (-). A directory bucket name must be unique in the chosen Availability Zone or Local Zone. The bucket name must also follow the format 'bucket_base_name--zone_id--x-s3'. The zone_id can be the ID of an Availability Zone or a Local Zone. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the bucket name.
lifecycleConfiguration DirectoryBucketLifecycleConfiguration
Lifecycle rules that define how Amazon S3 Express manages objects during their lifetime.
data_redundancy This property is required. DirectoryBucketDataRedundancy
Specifies the number of Availability Zone or Local Zone that's used for redundancy for the bucket.
location_name This property is required. str
Specifies the Zone ID of the Availability Zone or Local Zone where the directory bucket will be created. An example Availability Zone ID value is 'use1-az5'.
bucket_encryption DirectoryBucketBucketEncryptionArgs
Specifies default encryption for a bucket using server-side encryption with Amazon S3 managed keys (SSE-S3) or AWS KMS keys (SSE-KMS). For information about default encryption for directory buckets, see Setting and monitoring default encryption for directory buckets in the Amazon S3 User Guide .
bucket_name str
Specifies a name for the bucket. The bucket name must contain only lowercase letters, numbers, and hyphens (-). A directory bucket name must be unique in the chosen Availability Zone or Local Zone. The bucket name must also follow the format 'bucket_base_name--zone_id--x-s3'. The zone_id can be the ID of an Availability Zone or a Local Zone. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the bucket name.
lifecycle_configuration DirectoryBucketLifecycleConfigurationArgs
Lifecycle rules that define how Amazon S3 Express manages objects during their lifetime.
dataRedundancy This property is required. "SingleAvailabilityZone" | "SingleLocalZone"
Specifies the number of Availability Zone or Local Zone that's used for redundancy for the bucket.
locationName This property is required. String
Specifies the Zone ID of the Availability Zone or Local Zone where the directory bucket will be created. An example Availability Zone ID value is 'use1-az5'.
bucketEncryption Property Map
Specifies default encryption for a bucket using server-side encryption with Amazon S3 managed keys (SSE-S3) or AWS KMS keys (SSE-KMS). For information about default encryption for directory buckets, see Setting and monitoring default encryption for directory buckets in the Amazon S3 User Guide .
bucketName String
Specifies a name for the bucket. The bucket name must contain only lowercase letters, numbers, and hyphens (-). A directory bucket name must be unique in the chosen Availability Zone or Local Zone. The bucket name must also follow the format 'bucket_base_name--zone_id--x-s3'. The zone_id can be the ID of an Availability Zone or a Local Zone. If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the bucket name.
lifecycleConfiguration Property Map
Lifecycle rules that define how Amazon S3 Express manages objects during their lifetime.

Outputs

All input properties are implicitly available as output properties. Additionally, the DirectoryBucket resource produces the following output properties:

Arn string
Returns the Amazon Resource Name (ARN) of the specified bucket.
AvailabilityZoneName string
Returns the code for the Availability Zone or Local Zone where the directory bucket was created. An example for the code of an Availability Zone is 'us-east-1f'.
Id string
The provider-assigned unique ID for this managed resource.
Arn string
Returns the Amazon Resource Name (ARN) of the specified bucket.
AvailabilityZoneName string
Returns the code for the Availability Zone or Local Zone where the directory bucket was created. An example for the code of an Availability Zone is 'us-east-1f'.
Id string
The provider-assigned unique ID for this managed resource.
arn String
Returns the Amazon Resource Name (ARN) of the specified bucket.
availabilityZoneName String
Returns the code for the Availability Zone or Local Zone where the directory bucket was created. An example for the code of an Availability Zone is 'us-east-1f'.
id String
The provider-assigned unique ID for this managed resource.
arn string
Returns the Amazon Resource Name (ARN) of the specified bucket.
availabilityZoneName string
Returns the code for the Availability Zone or Local Zone where the directory bucket was created. An example for the code of an Availability Zone is 'us-east-1f'.
id string
The provider-assigned unique ID for this managed resource.
arn str
Returns the Amazon Resource Name (ARN) of the specified bucket.
availability_zone_name str
Returns the code for the Availability Zone or Local Zone where the directory bucket was created. An example for the code of an Availability Zone is 'us-east-1f'.
id str
The provider-assigned unique ID for this managed resource.
arn String
Returns the Amazon Resource Name (ARN) of the specified bucket.
availabilityZoneName String
Returns the code for the Availability Zone or Local Zone where the directory bucket was created. An example for the code of an Availability Zone is 'us-east-1f'.
id String
The provider-assigned unique ID for this managed resource.

Supporting Types

DirectoryBucketAbortIncompleteMultipartUpload
, DirectoryBucketAbortIncompleteMultipartUploadArgs

DaysAfterInitiation This property is required. int
Specifies the number of days after which Amazon S3 aborts an incomplete multipart upload.
DaysAfterInitiation This property is required. int
Specifies the number of days after which Amazon S3 aborts an incomplete multipart upload.
daysAfterInitiation This property is required. Integer
Specifies the number of days after which Amazon S3 aborts an incomplete multipart upload.
daysAfterInitiation This property is required. number
Specifies the number of days after which Amazon S3 aborts an incomplete multipart upload.
days_after_initiation This property is required. int
Specifies the number of days after which Amazon S3 aborts an incomplete multipart upload.
daysAfterInitiation This property is required. Number
Specifies the number of days after which Amazon S3 aborts an incomplete multipart upload.

DirectoryBucketBucketEncryption
, DirectoryBucketBucketEncryptionArgs

ServerSideEncryptionConfiguration This property is required. List<Pulumi.AwsNative.S3Express.Inputs.DirectoryBucketServerSideEncryptionRule>
Specifies the default server-side-encryption configuration.
ServerSideEncryptionConfiguration This property is required. []DirectoryBucketServerSideEncryptionRule
Specifies the default server-side-encryption configuration.
serverSideEncryptionConfiguration This property is required. List<DirectoryBucketServerSideEncryptionRule>
Specifies the default server-side-encryption configuration.
serverSideEncryptionConfiguration This property is required. DirectoryBucketServerSideEncryptionRule[]
Specifies the default server-side-encryption configuration.
server_side_encryption_configuration This property is required. Sequence[DirectoryBucketServerSideEncryptionRule]
Specifies the default server-side-encryption configuration.
serverSideEncryptionConfiguration This property is required. List<Property Map>
Specifies the default server-side-encryption configuration.

DirectoryBucketDataRedundancy
, DirectoryBucketDataRedundancyArgs

SingleAvailabilityZone
SingleAvailabilityZone
SingleLocalZone
SingleLocalZone
DirectoryBucketDataRedundancySingleAvailabilityZone
SingleAvailabilityZone
DirectoryBucketDataRedundancySingleLocalZone
SingleLocalZone
SingleAvailabilityZone
SingleAvailabilityZone
SingleLocalZone
SingleLocalZone
SingleAvailabilityZone
SingleAvailabilityZone
SingleLocalZone
SingleLocalZone
SINGLE_AVAILABILITY_ZONE
SingleAvailabilityZone
SINGLE_LOCAL_ZONE
SingleLocalZone
"SingleAvailabilityZone"
SingleAvailabilityZone
"SingleLocalZone"
SingleLocalZone

DirectoryBucketLifecycleConfiguration
, DirectoryBucketLifecycleConfigurationArgs

Rules This property is required. List<Pulumi.AwsNative.S3Express.Inputs.DirectoryBucketRule>
A lifecycle rule for individual objects in an Amazon S3 Express bucket.
Rules This property is required. []DirectoryBucketRule
A lifecycle rule for individual objects in an Amazon S3 Express bucket.
rules This property is required. List<DirectoryBucketRule>
A lifecycle rule for individual objects in an Amazon S3 Express bucket.
rules This property is required. DirectoryBucketRule[]
A lifecycle rule for individual objects in an Amazon S3 Express bucket.
rules This property is required. Sequence[DirectoryBucketRule]
A lifecycle rule for individual objects in an Amazon S3 Express bucket.
rules This property is required. List<Property Map>
A lifecycle rule for individual objects in an Amazon S3 Express bucket.

DirectoryBucketRule
, DirectoryBucketRuleArgs

Status This property is required. Pulumi.AwsNative.S3Express.DirectoryBucketRuleStatus
If Enabled , the rule is currently being applied. If Disabled , the rule is not currently being applied.
AbortIncompleteMultipartUpload Pulumi.AwsNative.S3Express.Inputs.DirectoryBucketAbortIncompleteMultipartUpload
Specifies the days since the initiation of an incomplete multipart upload that Amazon S3 will wait before permanently removing all parts of the upload.
ExpirationInDays int
Indicates the number of days after creation when objects are deleted from Amazon S3 and Amazon S3 Glacier. If you specify an expiration and transition time, you must use the same time unit for both properties (either in days or by date). The expiration time must also be later than the transition time.
Id string
Unique identifier for the rule. The value can't be longer than 255 characters.
ObjectSizeGreaterThan string
Specifies the minimum object size in bytes for this rule to apply to. Objects must be larger than this value in bytes. For more information about size based rules, see Lifecycle configuration using size-based rules in the Amazon S3 User Guide .
ObjectSizeLessThan string
Specifies the maximum object size in bytes for this rule to apply to. Objects must be smaller than this value in bytes. For more information about sized based rules, see Lifecycle configuration using size-based rules in the Amazon S3 User Guide .
Prefix string

Object key prefix that identifies one or more objects to which this rule applies.

Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints .

Status This property is required. DirectoryBucketRuleStatus
If Enabled , the rule is currently being applied. If Disabled , the rule is not currently being applied.
AbortIncompleteMultipartUpload DirectoryBucketAbortIncompleteMultipartUpload
Specifies the days since the initiation of an incomplete multipart upload that Amazon S3 will wait before permanently removing all parts of the upload.
ExpirationInDays int
Indicates the number of days after creation when objects are deleted from Amazon S3 and Amazon S3 Glacier. If you specify an expiration and transition time, you must use the same time unit for both properties (either in days or by date). The expiration time must also be later than the transition time.
Id string
Unique identifier for the rule. The value can't be longer than 255 characters.
ObjectSizeGreaterThan string
Specifies the minimum object size in bytes for this rule to apply to. Objects must be larger than this value in bytes. For more information about size based rules, see Lifecycle configuration using size-based rules in the Amazon S3 User Guide .
ObjectSizeLessThan string
Specifies the maximum object size in bytes for this rule to apply to. Objects must be smaller than this value in bytes. For more information about sized based rules, see Lifecycle configuration using size-based rules in the Amazon S3 User Guide .
Prefix string

Object key prefix that identifies one or more objects to which this rule applies.

Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints .

status This property is required. DirectoryBucketRuleStatus
If Enabled , the rule is currently being applied. If Disabled , the rule is not currently being applied.
abortIncompleteMultipartUpload DirectoryBucketAbortIncompleteMultipartUpload
Specifies the days since the initiation of an incomplete multipart upload that Amazon S3 will wait before permanently removing all parts of the upload.
expirationInDays Integer
Indicates the number of days after creation when objects are deleted from Amazon S3 and Amazon S3 Glacier. If you specify an expiration and transition time, you must use the same time unit for both properties (either in days or by date). The expiration time must also be later than the transition time.
id String
Unique identifier for the rule. The value can't be longer than 255 characters.
objectSizeGreaterThan String
Specifies the minimum object size in bytes for this rule to apply to. Objects must be larger than this value in bytes. For more information about size based rules, see Lifecycle configuration using size-based rules in the Amazon S3 User Guide .
objectSizeLessThan String
Specifies the maximum object size in bytes for this rule to apply to. Objects must be smaller than this value in bytes. For more information about sized based rules, see Lifecycle configuration using size-based rules in the Amazon S3 User Guide .
prefix String

Object key prefix that identifies one or more objects to which this rule applies.

Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints .

status This property is required. DirectoryBucketRuleStatus
If Enabled , the rule is currently being applied. If Disabled , the rule is not currently being applied.
abortIncompleteMultipartUpload DirectoryBucketAbortIncompleteMultipartUpload
Specifies the days since the initiation of an incomplete multipart upload that Amazon S3 will wait before permanently removing all parts of the upload.
expirationInDays number
Indicates the number of days after creation when objects are deleted from Amazon S3 and Amazon S3 Glacier. If you specify an expiration and transition time, you must use the same time unit for both properties (either in days or by date). The expiration time must also be later than the transition time.
id string
Unique identifier for the rule. The value can't be longer than 255 characters.
objectSizeGreaterThan string
Specifies the minimum object size in bytes for this rule to apply to. Objects must be larger than this value in bytes. For more information about size based rules, see Lifecycle configuration using size-based rules in the Amazon S3 User Guide .
objectSizeLessThan string
Specifies the maximum object size in bytes for this rule to apply to. Objects must be smaller than this value in bytes. For more information about sized based rules, see Lifecycle configuration using size-based rules in the Amazon S3 User Guide .
prefix string

Object key prefix that identifies one or more objects to which this rule applies.

Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints .

status This property is required. DirectoryBucketRuleStatus
If Enabled , the rule is currently being applied. If Disabled , the rule is not currently being applied.
abort_incomplete_multipart_upload DirectoryBucketAbortIncompleteMultipartUpload
Specifies the days since the initiation of an incomplete multipart upload that Amazon S3 will wait before permanently removing all parts of the upload.
expiration_in_days int
Indicates the number of days after creation when objects are deleted from Amazon S3 and Amazon S3 Glacier. If you specify an expiration and transition time, you must use the same time unit for both properties (either in days or by date). The expiration time must also be later than the transition time.
id str
Unique identifier for the rule. The value can't be longer than 255 characters.
object_size_greater_than str
Specifies the minimum object size in bytes for this rule to apply to. Objects must be larger than this value in bytes. For more information about size based rules, see Lifecycle configuration using size-based rules in the Amazon S3 User Guide .
object_size_less_than str
Specifies the maximum object size in bytes for this rule to apply to. Objects must be smaller than this value in bytes. For more information about sized based rules, see Lifecycle configuration using size-based rules in the Amazon S3 User Guide .
prefix str

Object key prefix that identifies one or more objects to which this rule applies.

Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints .

status This property is required. "Enabled" | "Disabled"
If Enabled , the rule is currently being applied. If Disabled , the rule is not currently being applied.
abortIncompleteMultipartUpload Property Map
Specifies the days since the initiation of an incomplete multipart upload that Amazon S3 will wait before permanently removing all parts of the upload.
expirationInDays Number
Indicates the number of days after creation when objects are deleted from Amazon S3 and Amazon S3 Glacier. If you specify an expiration and transition time, you must use the same time unit for both properties (either in days or by date). The expiration time must also be later than the transition time.
id String
Unique identifier for the rule. The value can't be longer than 255 characters.
objectSizeGreaterThan String
Specifies the minimum object size in bytes for this rule to apply to. Objects must be larger than this value in bytes. For more information about size based rules, see Lifecycle configuration using size-based rules in the Amazon S3 User Guide .
objectSizeLessThan String
Specifies the maximum object size in bytes for this rule to apply to. Objects must be smaller than this value in bytes. For more information about sized based rules, see Lifecycle configuration using size-based rules in the Amazon S3 User Guide .
prefix String

Object key prefix that identifies one or more objects to which this rule applies.

Replacement must be made for object keys containing special characters (such as carriage returns) when using XML requests. For more information, see XML related object key constraints .

DirectoryBucketRuleStatus
, DirectoryBucketRuleStatusArgs

Enabled
Enabled
Disabled
Disabled
DirectoryBucketRuleStatusEnabled
Enabled
DirectoryBucketRuleStatusDisabled
Disabled
Enabled
Enabled
Disabled
Disabled
Enabled
Enabled
Disabled
Disabled
ENABLED
Enabled
DISABLED
Disabled
"Enabled"
Enabled
"Disabled"
Disabled

DirectoryBucketServerSideEncryptionByDefault
, DirectoryBucketServerSideEncryptionByDefaultArgs

SseAlgorithm This property is required. Pulumi.AwsNative.S3Express.DirectoryBucketServerSideEncryptionByDefaultSseAlgorithm

Server-side encryption algorithm to use for the default encryption.

For directory buckets, there are only two supported values for server-side encryption: AES256 and aws:kms .

KmsMasterKeyId string
AWS Key Management Service (KMS) customer managed key ID to use for the default encryption. This parameter is allowed only if SSEAlgorithm is set to aws:kms. You can specify this parameter with the key ID or the Amazon Resource Name (ARN) of the KMS key
SseAlgorithm This property is required. DirectoryBucketServerSideEncryptionByDefaultSseAlgorithm

Server-side encryption algorithm to use for the default encryption.

For directory buckets, there are only two supported values for server-side encryption: AES256 and aws:kms .

KmsMasterKeyId string
AWS Key Management Service (KMS) customer managed key ID to use for the default encryption. This parameter is allowed only if SSEAlgorithm is set to aws:kms. You can specify this parameter with the key ID or the Amazon Resource Name (ARN) of the KMS key
sseAlgorithm This property is required. DirectoryBucketServerSideEncryptionByDefaultSseAlgorithm

Server-side encryption algorithm to use for the default encryption.

For directory buckets, there are only two supported values for server-side encryption: AES256 and aws:kms .

kmsMasterKeyId String
AWS Key Management Service (KMS) customer managed key ID to use for the default encryption. This parameter is allowed only if SSEAlgorithm is set to aws:kms. You can specify this parameter with the key ID or the Amazon Resource Name (ARN) of the KMS key
sseAlgorithm This property is required. DirectoryBucketServerSideEncryptionByDefaultSseAlgorithm

Server-side encryption algorithm to use for the default encryption.

For directory buckets, there are only two supported values for server-side encryption: AES256 and aws:kms .

kmsMasterKeyId string
AWS Key Management Service (KMS) customer managed key ID to use for the default encryption. This parameter is allowed only if SSEAlgorithm is set to aws:kms. You can specify this parameter with the key ID or the Amazon Resource Name (ARN) of the KMS key
sse_algorithm This property is required. DirectoryBucketServerSideEncryptionByDefaultSseAlgorithm

Server-side encryption algorithm to use for the default encryption.

For directory buckets, there are only two supported values for server-side encryption: AES256 and aws:kms .

kms_master_key_id str
AWS Key Management Service (KMS) customer managed key ID to use for the default encryption. This parameter is allowed only if SSEAlgorithm is set to aws:kms. You can specify this parameter with the key ID or the Amazon Resource Name (ARN) of the KMS key
sseAlgorithm This property is required. "aws:kms" | "AES256"

Server-side encryption algorithm to use for the default encryption.

For directory buckets, there are only two supported values for server-side encryption: AES256 and aws:kms .

kmsMasterKeyId String
AWS Key Management Service (KMS) customer managed key ID to use for the default encryption. This parameter is allowed only if SSEAlgorithm is set to aws:kms. You can specify this parameter with the key ID or the Amazon Resource Name (ARN) of the KMS key

DirectoryBucketServerSideEncryptionByDefaultSseAlgorithm
, DirectoryBucketServerSideEncryptionByDefaultSseAlgorithmArgs

Awskms
aws:kms
Aes256
AES256
DirectoryBucketServerSideEncryptionByDefaultSseAlgorithmAwskms
aws:kms
DirectoryBucketServerSideEncryptionByDefaultSseAlgorithmAes256
AES256
Awskms
aws:kms
Aes256
AES256
Awskms
aws:kms
Aes256
AES256
AWSKMS
aws:kms
AES256
AES256
"aws:kms"
aws:kms
"AES256"
AES256

DirectoryBucketServerSideEncryptionRule
, DirectoryBucketServerSideEncryptionRuleArgs

BucketKeyEnabled bool
Specifies whether Amazon S3 should use an S3 Bucket Key with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. Existing objects are not affected. Amazon S3 Express One Zone uses an S3 Bucket Key with SSE-KMS and S3 Bucket Key cannot be disabled. It's only allowed to set the BucketKeyEnabled element to true.
ServerSideEncryptionByDefault Pulumi.AwsNative.S3Express.Inputs.DirectoryBucketServerSideEncryptionByDefault
Specifies the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied.
BucketKeyEnabled bool
Specifies whether Amazon S3 should use an S3 Bucket Key with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. Existing objects are not affected. Amazon S3 Express One Zone uses an S3 Bucket Key with SSE-KMS and S3 Bucket Key cannot be disabled. It's only allowed to set the BucketKeyEnabled element to true.
ServerSideEncryptionByDefault DirectoryBucketServerSideEncryptionByDefault
Specifies the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied.
bucketKeyEnabled Boolean
Specifies whether Amazon S3 should use an S3 Bucket Key with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. Existing objects are not affected. Amazon S3 Express One Zone uses an S3 Bucket Key with SSE-KMS and S3 Bucket Key cannot be disabled. It's only allowed to set the BucketKeyEnabled element to true.
serverSideEncryptionByDefault DirectoryBucketServerSideEncryptionByDefault
Specifies the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied.
bucketKeyEnabled boolean
Specifies whether Amazon S3 should use an S3 Bucket Key with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. Existing objects are not affected. Amazon S3 Express One Zone uses an S3 Bucket Key with SSE-KMS and S3 Bucket Key cannot be disabled. It's only allowed to set the BucketKeyEnabled element to true.
serverSideEncryptionByDefault DirectoryBucketServerSideEncryptionByDefault
Specifies the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied.
bucket_key_enabled bool
Specifies whether Amazon S3 should use an S3 Bucket Key with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. Existing objects are not affected. Amazon S3 Express One Zone uses an S3 Bucket Key with SSE-KMS and S3 Bucket Key cannot be disabled. It's only allowed to set the BucketKeyEnabled element to true.
server_side_encryption_by_default DirectoryBucketServerSideEncryptionByDefault
Specifies the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied.
bucketKeyEnabled Boolean
Specifies whether Amazon S3 should use an S3 Bucket Key with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. Existing objects are not affected. Amazon S3 Express One Zone uses an S3 Bucket Key with SSE-KMS and S3 Bucket Key cannot be disabled. It's only allowed to set the BucketKeyEnabled element to true.
serverSideEncryptionByDefault Property Map
Specifies the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied.

Package Details

Repository
AWS Native pulumi/pulumi-aws-native
License
Apache-2.0

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi