CfnLogGroupPropsMixin Mixin
The AWS::Logs::LogGroup resource specifies a log group.
A log group defines common properties for log streams, such as their retention and access control rules. Each log stream must belong to one log group.
You can create up to 1,000,000 log groups per Region per account. You must use the following guidelines when naming a log group:
- Log group names must be unique within a Region for an AWS account.
- Log group names can be between 1 and 512 characters long.
- Log group names consist of the following characters: a-z, A-Z, 0-9, '_' (underscore), '-' (hyphen), '/' (forward slash), and '.' (period).
Initializer
ts
new CfnLogGroupPropsMixin(props: CfnLogGroupMixinProps, options?: CfnPropertyMixinOptions)
python
CfnLogGroupPropsMixin(props: CfnLogGroupMixinProps, options: typing.Optional[CfnPropertyMixinOptions] = None)
java
new CfnLogGroupPropsMixin(CfnLogGroupMixinProps props, CfnPropertyMixinOptions options)
csharp
new CfnLogGroupPropsMixin(CfnLogGroupMixinProps props, CfnPropertyMixinOptions? options = null)
go
NewCfnLogGroupPropsMixin(Props CfnLogGroupMixinProps, Options CfnPropertyMixinOptions)
Methods
applyTo(construct: IConstruct): voiddef apply_to(self, construct: IConstruct) -> Nonepublic void applyTo(IConstruct construct)public void ApplyTo(IConstruct construct)func ApplyTo(Construct IConstruct)#Apply the mixin properties to the construct.
isMixin(x: any): boolean@staticmethod def is_mixin(x: Any) -> boolpublic static Boolean isMixin(Object x)public static bool IsMixin(object x)func IsMixin(X interface{}) *boolstatic#Checks if `x` is a Mixin.
1 parameter · returns
Parameters
xxxxX— Any object.
Returns: true if x is an object created from a class which extends Mixin.
supports(construct: IConstruct): booleandef supports(self, construct: IConstruct) -> boolpublic Boolean supports(IConstruct construct)public bool Supports(IConstruct construct)func Supports(Construct IConstruct) *bool#Check if this mixin supports the given construct.