AWS Native is in preview. AWS Classic is fully supported.
aws-native.s3.StorageLensGroup
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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.
Aws Native. S3. Inputs. Storage Lens Group Filter - Name string
- List<Pulumi.
Aws Native. Inputs. Tag> - A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
- Filter
Storage
Lens Group Filter Args - Name string
- Tag
Args - A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
- filter
Storage
Lens Group Filter - name String
- List<Tag>
- A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
- filter
Storage
Lens Group Filter - name string
- Tag[]
- A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
- filter
Storage
Lens Group Filter Args - name str
- Sequence[Tag
Args] - A set of tags (key-value pairs) for this Amazon S3 Storage Lens Group.
- filter Property Map
- name String
- 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.
- Storage
Lens stringGroup Arn - The ARN for the Amazon S3 Storage Lens Group.
- Id string
- The provider-assigned unique ID for this managed resource.
- Storage
Lens stringGroup Arn - The ARN for the Amazon S3 Storage Lens Group.
- id String
- The provider-assigned unique ID for this managed resource.
- storage
Lens StringGroup Arn - The ARN for the Amazon S3 Storage Lens Group.
- id string
- The provider-assigned unique ID for this managed resource.
- storage
Lens stringGroup Arn - The ARN for the Amazon S3 Storage Lens Group.
- id str
- The provider-assigned unique ID for this managed resource.
- storage_
lens_ strgroup_ arn - The ARN for the Amazon S3 Storage Lens Group.
- id String
- The provider-assigned unique ID for this managed resource.
- storage
Lens StringGroup Arn - The ARN for the Amazon S3 Storage Lens Group.
Supporting Types
StorageLensGroupAnd, StorageLensGroupAndArgs
- match
Any List<String>Prefix - match
Any List<String>Suffix - match
Any List<Property Map>Tag - match
Object Property MapAge - match
Object Property MapSize
StorageLensGroupFilter, StorageLensGroupFilterArgs
- And
Pulumi.
Aws Native. S3. Inputs. Storage Lens Group And - Match
Any List<string>Prefix - Match
Any List<string>Suffix - Match
Any List<Pulumi.Tag Aws Native. S3. Inputs. Storage Lens Group Tag> - Match
Object Pulumi.Age Aws Native. S3. Inputs. Storage Lens Group Match Object Age - Match
Object Pulumi.Size Aws Native. S3. Inputs. Storage Lens Group Match Object Size - Or
Pulumi.
Aws Native. S3. Inputs. Storage Lens Group Or
StorageLensGroupMatchObjectAge, StorageLensGroupMatchObjectAgeArgs
- Days
Greater intThan - Minimum object age to which the rule applies.
- Days
Less intThan - Maximum object age to which the rule applies.
- Days
Greater intThan - Minimum object age to which the rule applies.
- Days
Less intThan - Maximum object age to which the rule applies.
- days
Greater IntegerThan - Minimum object age to which the rule applies.
- days
Less IntegerThan - Maximum object age to which the rule applies.
- days
Greater numberThan - Minimum object age to which the rule applies.
- days
Less numberThan - Maximum object age to which the rule applies.
- days_
greater_ intthan - Minimum object age to which the rule applies.
- days_
less_ intthan - Maximum object age to which the rule applies.
- days
Greater NumberThan - Minimum object age to which the rule applies.
- days
Less NumberThan - Maximum object age to which the rule applies.
StorageLensGroupMatchObjectSize, StorageLensGroupMatchObjectSizeArgs
- Bytes
Greater intThan - Minimum object size to which the rule applies.
- Bytes
Less intThan - Maximum object size to which the rule applies.
- Bytes
Greater intThan - Minimum object size to which the rule applies.
- Bytes
Less intThan - Maximum object size to which the rule applies.
- bytes
Greater IntegerThan - Minimum object size to which the rule applies.
- bytes
Less IntegerThan - Maximum object size to which the rule applies.
- bytes
Greater numberThan - Minimum object size to which the rule applies.
- bytes
Less numberThan - Maximum object size to which the rule applies.
- bytes_
greater_ intthan - Minimum object size to which the rule applies.
- bytes_
less_ intthan - Maximum object size to which the rule applies.
- bytes
Greater NumberThan - Minimum object size to which the rule applies.
- bytes
Less NumberThan - Maximum object size to which the rule applies.
StorageLensGroupOr, StorageLensGroupOrArgs
- match
Any List<String>Prefix - match
Any List<String>Suffix - match
Any List<Property Map>Tag - match
Object Property MapAge - match
Object Property MapSize
StorageLensGroupTag, StorageLensGroupTagArgs
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.