RemediationConfiguration

public struct RemediationConfiguration : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • arn

    Amazon Resource Name (ARN) of remediation configuration.

    Declaration

    Swift

    public let arn: String?
  • The remediation is triggered automatically.

    Declaration

    Swift

    public let automatic: Bool?
  • The name of the AWS Config rule.

    Declaration

    Swift

    public let configRuleName: String
  • Name of the service that owns the service linked rule, if applicable.

    Declaration

    Swift

    public let createdByService: String?
  • An ExecutionControls object.

    Declaration

    Swift

    public let executionControls: ExecutionControls?
  • The maximum number of failed attempts for auto-remediation. If you do not select a number, the default is 5. For example, if you specify MaximumAutomaticAttempts as 5 with RetryAttemptsSeconds as 50 seconds, AWS Config will put a RemediationException on your behalf for the failing resource after the 5th failed attempt within 50 seconds.

    Declaration

    Swift

    public let maximumAutomaticAttempts: Int?
  • An object of the RemediationParameterValue.

    Declaration

    Swift

    public let parameters: [String : RemediationParameterValue]?
  • The type of a resource.

    Declaration

    Swift

    public let resourceType: String?
  • Maximum time in seconds that AWS Config runs auto-remediation. If you do not select a number, the default is 60 seconds. For example, if you specify RetryAttemptsSeconds as 50 seconds and MaximumAutomaticAttempts as 5, AWS Config will run auto-remediations 5 times within 50 seconds before throwing an exception.

    Declaration

    Swift

    public let retryAttemptSeconds: Int64?
  • Target ID is the name of the public document.

    Declaration

    Swift

    public let targetId: String
  • The type of the target. Target executes remediation. For example, SSM document.

    Declaration

    Swift

    public let targetType: RemediationTargetType
  • Version of the target. For example, version of the SSM document. If you make backward incompatible changes to the SSM document, you must call PutRemediationConfiguration API again to ensure the remediations can run.

    Declaration

    Swift

    public let targetVersion: String?
  • Undocumented

    Declaration

    Swift

    public init(arn: String? = nil, automatic: Bool? = nil, configRuleName: String, createdByService: String? = nil, executionControls: ExecutionControls? = nil, maximumAutomaticAttempts: Int? = nil, parameters: [String : RemediationParameterValue]? = nil, resourceType: String? = nil, retryAttemptSeconds: Int64? = nil, targetId: String, targetType: RemediationTargetType, targetVersion: String? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws