1. Packages
  2. AWS Native
  3. API Docs
  4. s3
  5. StorageLensGroup

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

AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi

aws-native.s3.StorageLensGroup

Explore with Pulumi AI

aws-native logo

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

AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi

    The AWS::S3::StorageLensGroup resource is an Amazon S3 resource type that you can use to create Storage Lens Group.

    Create StorageLensGroup Resource

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

    Constructor syntax

    new StorageLensGroup(name: string, args: StorageLensGroupArgs, opts?: CustomResourceOptions);
    @overload
    def StorageLensGroup(resource_name: str,
                         args: StorageLensGroupArgs,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def StorageLensGroup(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         filter: Optional[StorageLensGroupFilterArgs] = None,
                         name: Optional[str] = None,
                         tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
    func NewStorageLensGroup(ctx *Context, name string, args StorageLensGroupArgs, opts ...ResourceOption) (*StorageLensGroup, error)
    public StorageLensGroup(string name, StorageLensGroupArgs args, CustomResourceOptions? opts = null)
    public StorageLensGroup(String name, StorageLensGroupArgs args)
    public StorageLensGroup(String name, StorageLensGroupArgs args, CustomResourceOptions options)
    
    type: aws-native:s3:StorageLensGroup
    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 StorageLensGroupArgs
    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 StorageLensGroupArgs
    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 StorageLensGroupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args StorageLensGroupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args StorageLensGroupArgs
    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 storageLensGroupResource = new aws_native.s3.StorageLensGroup("storageLensGroupResource", {
        filter: {
            and: {
                matchAnyPrefix: ["string"],
                matchAnySuffix: ["string"],
                matchAnyTag: [{
                    key: "string",
                    value: "string",
                }],
                matchObjectAge: {
                    daysGreaterThan: 0,
                    daysLessThan: 0,
                },
                matchObjectSize: {
                    bytesGreaterThan: 0,
                    bytesLessThan: 0,
                },
            },
            matchAnyPrefix: ["string"],
            matchAnySuffix: ["string"],
            matchAnyTag: [{
                key: "string",
                value: "string",
            }],
            matchObjectAge: {
                daysGreaterThan: 0,
                daysLessThan: 0,
            },
            matchObjectSize: {
                bytesGreaterThan: 0,
                bytesLessThan: 0,
            },
            or: {
                matchAnyPrefix: ["string"],
                matchAnySuffix: ["string"],
                matchAnyTag: [{
                    key: "string",
                    value: "string",
                }],
                matchObjectAge: {
                    daysGreaterThan: 0,
                    daysLessThan: 0,
                },
                matchObjectSize: {
                    bytesGreaterThan: 0,
                    bytesLessThan: 0,
                },
            },
        },
        name: "string",
        tags: [{
            key: "string",
            value: "string",
        }],
    });
    
    Coming soon!
    

    StorageLensGroup 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 StorageLensGroup resource accepts the following input properties:

    Filter Pulumi.AwsNative.S3.Inputs.StorageLensGroupFilter
    Name string
    Tags List<Pulumi.AwsNative.Inputs.Tag>
    A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
    Filter StorageLensGroupFilterArgs
    Name string
    Tags TagArgs
    A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
    filter StorageLensGroupFilter
    name String
    tags List<Tag>
    A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
    filter StorageLensGroupFilter
    name string
    tags Tag[]
    A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
    filter StorageLensGroupFilterArgs
    name str
    tags Sequence[TagArgs]
    A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
    filter Property Map
    name String
    tags List<Property Map>
    A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    StorageLensGroupArn string
    The ARN for the Amazon S3 Storage Lens Group.
    Id string
    The provider-assigned unique ID for this managed resource.
    StorageLensGroupArn string
    The ARN for the Amazon S3 Storage Lens Group.
    id String
    The provider-assigned unique ID for this managed resource.
    storageLensGroupArn String
    The ARN for the Amazon S3 Storage Lens Group.
    id string
    The provider-assigned unique ID for this managed resource.
    storageLensGroupArn string
    The ARN for the Amazon S3 Storage Lens Group.
    id str
    The provider-assigned unique ID for this managed resource.
    storage_lens_group_arn str
    The ARN for the Amazon S3 Storage Lens Group.
    id String
    The provider-assigned unique ID for this managed resource.
    storageLensGroupArn String
    The ARN for the Amazon S3 Storage Lens Group.

    Supporting Types

    StorageLensGroupAnd, StorageLensGroupAndArgs

    StorageLensGroupFilter, StorageLensGroupFilterArgs

    StorageLensGroupMatchObjectAge, StorageLensGroupMatchObjectAgeArgs

    DaysGreaterThan int
    Minimum object age to which the rule applies.
    DaysLessThan int
    Maximum object age to which the rule applies.
    DaysGreaterThan int
    Minimum object age to which the rule applies.
    DaysLessThan int
    Maximum object age to which the rule applies.
    daysGreaterThan Integer
    Minimum object age to which the rule applies.
    daysLessThan Integer
    Maximum object age to which the rule applies.
    daysGreaterThan number
    Minimum object age to which the rule applies.
    daysLessThan number
    Maximum object age to which the rule applies.
    days_greater_than int
    Minimum object age to which the rule applies.
    days_less_than int
    Maximum object age to which the rule applies.
    daysGreaterThan Number
    Minimum object age to which the rule applies.
    daysLessThan Number
    Maximum object age to which the rule applies.

    StorageLensGroupMatchObjectSize, StorageLensGroupMatchObjectSizeArgs

    BytesGreaterThan int
    Minimum object size to which the rule applies.
    BytesLessThan int
    Maximum object size to which the rule applies.
    BytesGreaterThan int
    Minimum object size to which the rule applies.
    BytesLessThan int
    Maximum object size to which the rule applies.
    bytesGreaterThan Integer
    Minimum object size to which the rule applies.
    bytesLessThan Integer
    Maximum object size to which the rule applies.
    bytesGreaterThan number
    Minimum object size to which the rule applies.
    bytesLessThan number
    Maximum object size to which the rule applies.
    bytes_greater_than int
    Minimum object size to which the rule applies.
    bytes_less_than int
    Maximum object size to which the rule applies.
    bytesGreaterThan Number
    Minimum object size to which the rule applies.
    bytesLessThan Number
    Maximum object size to which the rule applies.

    StorageLensGroupOr, StorageLensGroupOrArgs

    StorageLensGroupTag, StorageLensGroupTagArgs

    Key string
    Value string
    Key string
    Value string
    key String
    value String
    key string
    value string
    key str
    value str
    key String
    value String

    Tag, TagArgs

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    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.105.0 published on Thursday, May 2, 2024 by Pulumi