Scope

public struct Scope : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The ID of the only AWS resource that you want to trigger an evaluation for the rule. If you specify a resource ID, you must specify one resource type for ComplianceResourceTypes.

    Declaration

    Swift

    public let complianceResourceId: String?
  • The resource types of only those AWS resources that you want to trigger an evaluation for the rule. You can only specify one type if you also specify a resource ID for ComplianceResourceId.

    Declaration

    Swift

    public let complianceResourceTypes: [String]?
  • The tag key that is applied to only those AWS resources that you want to trigger an evaluation for the rule.

    Declaration

    Swift

    public let tagKey: String?
  • The tag value applied to only those AWS resources that you want to trigger an evaluation for the rule. If you specify a value for TagValue, you must also specify a value for TagKey.

    Declaration

    Swift

    public let tagValue: String?
  • Undocumented

    Declaration

    Swift

    public init(complianceResourceId: String? = nil, complianceResourceTypes: [String]? = nil, tagKey: String? = nil, tagValue: String? = nil)
  • Declaration

    Swift

    public func validate(name: String) throws