1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. s3
  5. getStorageLensGroup

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

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.s3.getStorageLensGroup

Explore with Pulumi AI

aws-native logo

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

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

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

    Using getStorageLensGroup

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getStorageLensGroup(args: GetStorageLensGroupArgs, opts?: InvokeOptions): Promise<GetStorageLensGroupResult>
    function getStorageLensGroupOutput(args: GetStorageLensGroupOutputArgs, opts?: InvokeOptions): Output<GetStorageLensGroupResult>
    def get_storage_lens_group(name: Optional[str] = None,
                               opts: Optional[InvokeOptions] = None) -> GetStorageLensGroupResult
    def get_storage_lens_group_output(name: Optional[pulumi.Input[str]] = None,
                               opts: Optional[InvokeOptions] = None) -> Output[GetStorageLensGroupResult]
    func LookupStorageLensGroup(ctx *Context, args *LookupStorageLensGroupArgs, opts ...InvokeOption) (*LookupStorageLensGroupResult, error)
    func LookupStorageLensGroupOutput(ctx *Context, args *LookupStorageLensGroupOutputArgs, opts ...InvokeOption) LookupStorageLensGroupResultOutput

    > Note: This function is named LookupStorageLensGroup in the Go SDK.

    public static class GetStorageLensGroup 
    {
        public static Task<GetStorageLensGroupResult> InvokeAsync(GetStorageLensGroupArgs args, InvokeOptions? opts = null)
        public static Output<GetStorageLensGroupResult> Invoke(GetStorageLensGroupInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetStorageLensGroupResult> getStorageLensGroup(GetStorageLensGroupArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:s3:getStorageLensGroup
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    This property contains the Storage Lens group name.
    Name string
    This property contains the Storage Lens group name.
    name String
    This property contains the Storage Lens group name.
    name string
    This property contains the Storage Lens group name.
    name str
    This property contains the Storage Lens group name.
    name String
    This property contains the Storage Lens group name.

    getStorageLensGroup Result

    The following output properties are available:

    Filter Pulumi.AwsNative.S3.Outputs.StorageLensGroupFilter
    This property contains the criteria for the Storage Lens group data that is displayed
    StorageLensGroupArn string
    The ARN for the Amazon S3 Storage Lens Group.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
    Filter StorageLensGroupFilter
    This property contains the criteria for the Storage Lens group data that is displayed
    StorageLensGroupArn string
    The ARN for the Amazon S3 Storage Lens Group.
    Tags Tag
    A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
    filter StorageLensGroupFilter
    This property contains the criteria for the Storage Lens group data that is displayed
    storageLensGroupArn String
    The ARN for the Amazon S3 Storage Lens Group.
    tags List<Tag>
    A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
    filter StorageLensGroupFilter
    This property contains the criteria for the Storage Lens group data that is displayed
    storageLensGroupArn string
    The ARN for the Amazon S3 Storage Lens Group.
    tags Tag[]
    A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
    filter StorageLensGroupFilter
    This property contains the criteria for the Storage Lens group data that is displayed
    storage_lens_group_arn str
    The ARN for the Amazon S3 Storage Lens Group.
    tags Sequence[root_Tag]
    A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
    filter Property Map
    This property contains the criteria for the Storage Lens group data that is displayed
    storageLensGroupArn String
    The ARN for the Amazon S3 Storage Lens Group.
    tags List<Property Map>
    A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.

    Supporting Types

    StorageLensGroupAnd

    MatchAnyPrefix List<string>
    This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
    MatchAnySuffix List<string>
    This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
    MatchAnyTag List<Pulumi.AwsNative.S3.Inputs.StorageLensGroupTag>
    This property contains the list of object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
    MatchObjectAge Pulumi.AwsNative.S3.Inputs.StorageLensGroupMatchObjectAge
    This property contains DaysGreaterThan and DaysLessThan properties to define the object age range (minimum and maximum number of days).
    MatchObjectSize Pulumi.AwsNative.S3.Inputs.StorageLensGroupMatchObjectSize
    This property contains BytesGreaterThan and BytesLessThan to define the object size range (minimum and maximum number of Bytes).
    MatchAnyPrefix []string
    This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
    MatchAnySuffix []string
    This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
    MatchAnyTag []StorageLensGroupTag
    This property contains the list of object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
    MatchObjectAge StorageLensGroupMatchObjectAge
    This property contains DaysGreaterThan and DaysLessThan properties to define the object age range (minimum and maximum number of days).
    MatchObjectSize StorageLensGroupMatchObjectSize
    This property contains BytesGreaterThan and BytesLessThan to define the object size range (minimum and maximum number of Bytes).
    matchAnyPrefix List<String>
    This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
    matchAnySuffix List<String>
    This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
    matchAnyTag List<StorageLensGroupTag>
    This property contains the list of object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
    matchObjectAge StorageLensGroupMatchObjectAge
    This property contains DaysGreaterThan and DaysLessThan properties to define the object age range (minimum and maximum number of days).
    matchObjectSize StorageLensGroupMatchObjectSize
    This property contains BytesGreaterThan and BytesLessThan to define the object size range (minimum and maximum number of Bytes).
    matchAnyPrefix string[]
    This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
    matchAnySuffix string[]
    This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
    matchAnyTag StorageLensGroupTag[]
    This property contains the list of object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
    matchObjectAge StorageLensGroupMatchObjectAge
    This property contains DaysGreaterThan and DaysLessThan properties to define the object age range (minimum and maximum number of days).
    matchObjectSize StorageLensGroupMatchObjectSize
    This property contains BytesGreaterThan and BytesLessThan to define the object size range (minimum and maximum number of Bytes).
    match_any_prefix Sequence[str]
    This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
    match_any_suffix Sequence[str]
    This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
    match_any_tag Sequence[StorageLensGroupTag]
    This property contains the list of object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
    match_object_age StorageLensGroupMatchObjectAge
    This property contains DaysGreaterThan and DaysLessThan properties to define the object age range (minimum and maximum number of days).
    match_object_size StorageLensGroupMatchObjectSize
    This property contains BytesGreaterThan and BytesLessThan to define the object size range (minimum and maximum number of Bytes).
    matchAnyPrefix List<String>
    This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
    matchAnySuffix List<String>
    This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
    matchAnyTag List<Property Map>
    This property contains the list of object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
    matchObjectAge Property Map
    This property contains DaysGreaterThan and DaysLessThan properties to define the object age range (minimum and maximum number of days).
    matchObjectSize Property Map
    This property contains BytesGreaterThan and BytesLessThan to define the object size range (minimum and maximum number of Bytes).

    StorageLensGroupFilter

    And Pulumi.AwsNative.S3.Inputs.StorageLensGroupAnd
    This property contains the And logical operator, which allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data. Objects must match all of the listed filter conditions that are joined by the And logical operator. Only one of each filter condition is allowed.
    MatchAnyPrefix List<string>
    This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
    MatchAnySuffix List<string>
    This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
    MatchAnyTag List<Pulumi.AwsNative.S3.Inputs.StorageLensGroupTag>
    This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
    MatchObjectAge Pulumi.AwsNative.S3.Inputs.StorageLensGroupMatchObjectAge
    This property contains DaysGreaterThan and DaysLessThan to define the object age range (minimum and maximum number of days).
    MatchObjectSize Pulumi.AwsNative.S3.Inputs.StorageLensGroupMatchObjectSize
    This property contains BytesGreaterThan and BytesLessThan to define the object size range (minimum and maximum number of Bytes).
    Or Pulumi.AwsNative.S3.Inputs.StorageLensGroupOr
    This property contains the Or logical operator, which allows multiple filter conditions to be joined. Objects can match any of the listed filter conditions, which are joined by the Or logical operator. Only one of each filter condition is allowed.
    And StorageLensGroupAnd
    This property contains the And logical operator, which allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data. Objects must match all of the listed filter conditions that are joined by the And logical operator. Only one of each filter condition is allowed.
    MatchAnyPrefix []string
    This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
    MatchAnySuffix []string
    This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
    MatchAnyTag []StorageLensGroupTag
    This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
    MatchObjectAge StorageLensGroupMatchObjectAge
    This property contains DaysGreaterThan and DaysLessThan to define the object age range (minimum and maximum number of days).
    MatchObjectSize StorageLensGroupMatchObjectSize
    This property contains BytesGreaterThan and BytesLessThan to define the object size range (minimum and maximum number of Bytes).
    Or StorageLensGroupOr
    This property contains the Or logical operator, which allows multiple filter conditions to be joined. Objects can match any of the listed filter conditions, which are joined by the Or logical operator. Only one of each filter condition is allowed.
    and StorageLensGroupAnd
    This property contains the And logical operator, which allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data. Objects must match all of the listed filter conditions that are joined by the And logical operator. Only one of each filter condition is allowed.
    matchAnyPrefix List<String>
    This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
    matchAnySuffix List<String>
    This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
    matchAnyTag List<StorageLensGroupTag>
    This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
    matchObjectAge StorageLensGroupMatchObjectAge
    This property contains DaysGreaterThan and DaysLessThan to define the object age range (minimum and maximum number of days).
    matchObjectSize StorageLensGroupMatchObjectSize
    This property contains BytesGreaterThan and BytesLessThan to define the object size range (minimum and maximum number of Bytes).
    or StorageLensGroupOr
    This property contains the Or logical operator, which allows multiple filter conditions to be joined. Objects can match any of the listed filter conditions, which are joined by the Or logical operator. Only one of each filter condition is allowed.
    and StorageLensGroupAnd
    This property contains the And logical operator, which allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data. Objects must match all of the listed filter conditions that are joined by the And logical operator. Only one of each filter condition is allowed.
    matchAnyPrefix string[]
    This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
    matchAnySuffix string[]
    This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
    matchAnyTag StorageLensGroupTag[]
    This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
    matchObjectAge StorageLensGroupMatchObjectAge
    This property contains DaysGreaterThan and DaysLessThan to define the object age range (minimum and maximum number of days).
    matchObjectSize StorageLensGroupMatchObjectSize
    This property contains BytesGreaterThan and BytesLessThan to define the object size range (minimum and maximum number of Bytes).
    or StorageLensGroupOr
    This property contains the Or logical operator, which allows multiple filter conditions to be joined. Objects can match any of the listed filter conditions, which are joined by the Or logical operator. Only one of each filter condition is allowed.
    and_ StorageLensGroupAnd
    This property contains the And logical operator, which allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data. Objects must match all of the listed filter conditions that are joined by the And logical operator. Only one of each filter condition is allowed.
    match_any_prefix Sequence[str]
    This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
    match_any_suffix Sequence[str]
    This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
    match_any_tag Sequence[StorageLensGroupTag]
    This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
    match_object_age StorageLensGroupMatchObjectAge
    This property contains DaysGreaterThan and DaysLessThan to define the object age range (minimum and maximum number of days).
    match_object_size StorageLensGroupMatchObjectSize
    This property contains BytesGreaterThan and BytesLessThan to define the object size range (minimum and maximum number of Bytes).
    or_ StorageLensGroupOr
    This property contains the Or logical operator, which allows multiple filter conditions to be joined. Objects can match any of the listed filter conditions, which are joined by the Or logical operator. Only one of each filter condition is allowed.
    and Property Map
    This property contains the And logical operator, which allows multiple filter conditions to be joined for more complex comparisons of Storage Lens group data. Objects must match all of the listed filter conditions that are joined by the And logical operator. Only one of each filter condition is allowed.
    matchAnyPrefix List<String>
    This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
    matchAnySuffix List<String>
    This property contains a list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
    matchAnyTag List<Property Map>
    This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
    matchObjectAge Property Map
    This property contains DaysGreaterThan and DaysLessThan to define the object age range (minimum and maximum number of days).
    matchObjectSize Property Map
    This property contains BytesGreaterThan and BytesLessThan to define the object size range (minimum and maximum number of Bytes).
    or Property Map
    This property contains the Or logical operator, which allows multiple filter conditions to be joined. Objects can match any of the listed filter conditions, which are joined by the Or logical operator. Only one of each filter condition is allowed.

    StorageLensGroupMatchObjectAge

    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

    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

    MatchAnyPrefix List<string>
    This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
    MatchAnySuffix List<string>
    This property contains the list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
    MatchAnyTag List<Pulumi.AwsNative.S3.Inputs.StorageLensGroupTag>
    This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
    MatchObjectAge Pulumi.AwsNative.S3.Inputs.StorageLensGroupMatchObjectAge
    This property filters objects that match the specified object age range.
    MatchObjectSize Pulumi.AwsNative.S3.Inputs.StorageLensGroupMatchObjectSize
    This property contains the BytesGreaterThan and BytesLessThan values to define the object size range (minimum and maximum number of Bytes).
    MatchAnyPrefix []string
    This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
    MatchAnySuffix []string
    This property contains the list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
    MatchAnyTag []StorageLensGroupTag
    This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
    MatchObjectAge StorageLensGroupMatchObjectAge
    This property filters objects that match the specified object age range.
    MatchObjectSize StorageLensGroupMatchObjectSize
    This property contains the BytesGreaterThan and BytesLessThan values to define the object size range (minimum and maximum number of Bytes).
    matchAnyPrefix List<String>
    This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
    matchAnySuffix List<String>
    This property contains the list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
    matchAnyTag List<StorageLensGroupTag>
    This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
    matchObjectAge StorageLensGroupMatchObjectAge
    This property filters objects that match the specified object age range.
    matchObjectSize StorageLensGroupMatchObjectSize
    This property contains the BytesGreaterThan and BytesLessThan values to define the object size range (minimum and maximum number of Bytes).
    matchAnyPrefix string[]
    This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
    matchAnySuffix string[]
    This property contains the list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
    matchAnyTag StorageLensGroupTag[]
    This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
    matchObjectAge StorageLensGroupMatchObjectAge
    This property filters objects that match the specified object age range.
    matchObjectSize StorageLensGroupMatchObjectSize
    This property contains the BytesGreaterThan and BytesLessThan values to define the object size range (minimum and maximum number of Bytes).
    match_any_prefix Sequence[str]
    This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
    match_any_suffix Sequence[str]
    This property contains the list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
    match_any_tag Sequence[StorageLensGroupTag]
    This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
    match_object_age StorageLensGroupMatchObjectAge
    This property filters objects that match the specified object age range.
    match_object_size StorageLensGroupMatchObjectSize
    This property contains the BytesGreaterThan and BytesLessThan values to define the object size range (minimum and maximum number of Bytes).
    matchAnyPrefix List<String>
    This property contains a list of prefixes. At least one prefix must be specified. Up to 10 prefixes are allowed.
    matchAnySuffix List<String>
    This property contains the list of suffixes. At least one suffix must be specified. Up to 10 suffixes are allowed.
    matchAnyTag List<Property Map>
    This property contains the list of S3 object tags. At least one object tag must be specified. Up to 10 object tags are allowed.
    matchObjectAge Property Map
    This property filters objects that match the specified object age range.
    matchObjectSize Property Map
    This property contains the BytesGreaterThan and BytesLessThan values to define the object size range (minimum and maximum number of Bytes).

    StorageLensGroupTag

    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

    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

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

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi