You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::IoT::Types::CreateAuditSuppressionRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing CreateAuditSuppressionRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  check_name: "AuditCheckName", # required
  resource_identifier: { # required
    device_certificate_id: "CertificateId",
    ca_certificate_id: "CertificateId",
    cognito_identity_pool_id: "CognitoIdentityPoolId",
    client_id: "ClientId",
    policy_version_identifier: {
      policy_name: "PolicyName",
      policy_version_id: "PolicyVersionId",
    },
    account: "AwsAccountId",
    iam_role_arn: "RoleArn",
    role_alias_arn: "RoleAliasArn",
  },
  expiration_date: Time.now,
  suppress_indefinitely: false,
  description: "AuditDescription",
  client_request_token: "ClientRequestToken", # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#check_nameString

An audit check name. Checks must be enabled for your account. (Use DescribeAccountAuditConfiguration to see the list of all checks, including those that are enabled or use UpdateAccountAuditConfiguration to select which checks are enabled.)

Returns:

  • (String)

    An audit check name.

#client_request_tokenString

The epoch timestamp in seconds at which this suppression expires.

Returns:

  • (String)

    The epoch timestamp in seconds at which this suppression expires.

#descriptionString

The description of the audit suppression.

Returns:

  • (String)

    The description of the audit suppression.

#expiration_dateTime

The epoch timestamp in seconds at which this suppression expires.

Returns:

  • (Time)

    The epoch timestamp in seconds at which this suppression expires.

#resource_identifierTypes::ResourceIdentifier

Information that identifies the noncompliant resource.

Returns:

#suppress_indefinitelyBoolean

Indicates whether a suppression should exist indefinitely or not.

Returns:

  • (Boolean)

    Indicates whether a suppression should exist indefinitely or not.