Struct aws_sdk_cloudwatchlogs::input::CreateLogGroupInput [−][src]
#[non_exhaustive]pub struct CreateLogGroupInput {
pub log_group_name: Option<String>,
pub kms_key_id: Option<String>,
pub tags: Option<HashMap<String, String>>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.log_group_name: Option<String>
The name of the log group.
kms_key_id: Option<String>
The Amazon Resource Name (ARN) of the CMK to use when encrypting log data. For more information, see Amazon Resource Names - Key Management Service.
The key-value pairs to use for the tags.
CloudWatch Logs doesn’t support IAM policies that prevent users from assigning specified tags to
log groups using the aws:Resource/key-name
or aws:TagKeys
condition keys.
For more information about using tags to control access, see
Controlling access to Amazon Web Services resources using tags.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateLogGroup, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateLogGroup, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateLogGroup
>
Creates a new builder-style object to manufacture CreateLogGroupInput
The name of the log group.
The Amazon Resource Name (ARN) of the CMK to use when encrypting log data. For more information, see Amazon Resource Names - Key Management Service.
The key-value pairs to use for the tags.
CloudWatch Logs doesn’t support IAM policies that prevent users from assigning specified tags to
log groups using the aws:Resource/key-name
or aws:TagKeys
condition keys.
For more information about using tags to control access, see
Controlling access to Amazon Web Services resources using tags.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CreateLogGroupInput
impl Send for CreateLogGroupInput
impl Sync for CreateLogGroupInput
impl Unpin for CreateLogGroupInput
impl UnwindSafe for CreateLogGroupInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more