LogGroupState constructor
- Input<
String?> ? arn, - Input<
bool?> ? deletionProtectionEnabled, - Input<
String?> ? kmsKeyId, - Input<
String?> ? logGroupClass, - Input<
String?> ? name, - Input<
String?> ? namePrefix, - Input<
String?> ? region, - Input<
int?> ? retentionInDays, - Input<
bool?> ? skipDestroy, - Input<
Map< ? tags,String, String> ?> - Input<
Map< ? tagsAll,String, String> ?>
Creates a new LogGroupState.
arn ARN specifying the log group. Any :* suffix added by the API, denoting all CloudWatch Log Streams under the CloudWatch Log Group, is removed for greater compatibility with other AWS services that do not accept the suffix.
deletionProtectionEnabled Boolean to indicate whether deletion protection is enabled. Defaults to false. Once set, switching to false requires explicitly specifying false rather than removing this argument.
kmsKeyId The ARN of the KMS Key to use when encrypting log data. Please note, after the AWS KMS CMK is disassociated from the log group,
logGroupClass Specified the log class of the log group. Possible values are: STANDARD, INFREQUENT_ACCESS, or DELIVERY.
name The name of the log group. If omitted, this provider will assign a random, unique name.
namePrefix Creates a unique name beginning with the specified prefix. Conflicts with name.
region Region where this resource will be managed. Defaults to the Region set in the provider configuration.
retentionInDays Specifies the number of days
skipDestroy Set to true if you do not wish the log group (and any logs it may contain) to be deleted at destroy time, and instead just remove the log group from the state.
tags A map of tags to assign to the resource. .If configured with a provider defaultTags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll A map of tags assigned to the resource, including those inherited from the provider defaultTags configuration block.
Implementation
const LogGroupState({
this.arn,
this.deletionProtectionEnabled,
this.kmsKeyId,
this.logGroupClass,
this.name,
this.namePrefix,
this.region,
this.retentionInDays,
this.skipDestroy,
this.tags,
this.tagsAll,
});