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

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi

aws-native.s3express.DirectoryBucket

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 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_name: Optional[str] = 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 string
    The unique name of the resource.
    args DirectoryBucketArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args 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 string
    The unique name of the resource.
    args DirectoryBucketArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DirectoryBucketArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DirectoryBucketArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    const directoryBucketResource = new aws_native.s3express.DirectoryBucket("directoryBucketResource", {
        dataRedundancy: aws_native.s3express.DirectoryBucketDataRedundancy.SingleAvailabilityZone,
        locationName: "string",
        bucketName: "string",
    });
    
    Coming soon!
    

    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

    The DirectoryBucket resource accepts the following input properties:

    DataRedundancy Pulumi.AwsNative.S3Express.DirectoryBucketDataRedundancy
    Specifies the number of Availability Zone that's used for redundancy for the bucket.
    LocationName string
    Specifies the AZ ID of the Availability Zone where the directory bucket will be created. An example AZ ID value is 'use1-az5'.
    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. The bucket name must also follow the format 'bucket_base_name--az_id--x-s3' (for example, 'DOC-EXAMPLE-BUCKET--usw2-az1--x-s3'). If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the bucket name.
    DataRedundancy DirectoryBucketDataRedundancy
    Specifies the number of Availability Zone that's used for redundancy for the bucket.
    LocationName string
    Specifies the AZ ID of the Availability Zone where the directory bucket will be created. An example AZ ID value is 'use1-az5'.
    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. The bucket name must also follow the format 'bucket_base_name--az_id--x-s3' (for example, 'DOC-EXAMPLE-BUCKET--usw2-az1--x-s3'). If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the bucket name.
    dataRedundancy DirectoryBucketDataRedundancy
    Specifies the number of Availability Zone that's used for redundancy for the bucket.
    locationName String
    Specifies the AZ ID of the Availability Zone where the directory bucket will be created. An example AZ ID value is 'use1-az5'.
    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. The bucket name must also follow the format 'bucket_base_name--az_id--x-s3' (for example, 'DOC-EXAMPLE-BUCKET--usw2-az1--x-s3'). If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the bucket name.
    dataRedundancy DirectoryBucketDataRedundancy
    Specifies the number of Availability Zone that's used for redundancy for the bucket.
    locationName string
    Specifies the AZ ID of the Availability Zone where the directory bucket will be created. An example AZ ID value is 'use1-az5'.
    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. The bucket name must also follow the format 'bucket_base_name--az_id--x-s3' (for example, 'DOC-EXAMPLE-BUCKET--usw2-az1--x-s3'). If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the bucket name.
    data_redundancy DirectoryBucketDataRedundancy
    Specifies the number of Availability Zone that's used for redundancy for the bucket.
    location_name str
    Specifies the AZ ID of the Availability Zone where the directory bucket will be created. An example AZ ID value is 'use1-az5'.
    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. The bucket name must also follow the format 'bucket_base_name--az_id--x-s3' (for example, 'DOC-EXAMPLE-BUCKET--usw2-az1--x-s3'). If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the bucket name.
    dataRedundancy "SingleAvailabilityZone"
    Specifies the number of Availability Zone that's used for redundancy for the bucket.
    locationName String
    Specifies the AZ ID of the Availability Zone where the directory bucket will be created. An example AZ ID value is 'use1-az5'.
    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. The bucket name must also follow the format 'bucket_base_name--az_id--x-s3' (for example, 'DOC-EXAMPLE-BUCKET--usw2-az1--x-s3'). If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the bucket name.

    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.
    Id string
    The provider-assigned unique ID for this managed resource.
    Arn string
    Returns the Amazon Resource Name (ARN) of the specified bucket.
    Id string
    The provider-assigned unique ID for this managed resource.
    arn String
    Returns the Amazon Resource Name (ARN) of the specified bucket.
    id String
    The provider-assigned unique ID for this managed resource.
    arn string
    Returns the Amazon Resource Name (ARN) of the specified bucket.
    id string
    The provider-assigned unique ID for this managed resource.
    arn str
    Returns the Amazon Resource Name (ARN) of the specified bucket.
    id str
    The provider-assigned unique ID for this managed resource.
    arn String
    Returns the Amazon Resource Name (ARN) of the specified bucket.
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    DirectoryBucketDataRedundancy, DirectoryBucketDataRedundancyArgs

    SingleAvailabilityZone
    SingleAvailabilityZone
    DirectoryBucketDataRedundancySingleAvailabilityZone
    SingleAvailabilityZone
    SingleAvailabilityZone
    SingleAvailabilityZone
    SingleAvailabilityZone
    SingleAvailabilityZone
    SINGLE_AVAILABILITY_ZONE
    SingleAvailabilityZone
    "SingleAvailabilityZone"
    SingleAvailabilityZone

    Package Details

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

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi