PolicySummary
public struct PolicySummary : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The Amazon Resource Name (ARN) of the specified policy.
Declaration
Swift
public let policyArn: String?
-
The ID of the specified policy.
Declaration
Swift
public let policyId: String?
-
The name of the specified policy.
Declaration
Swift
public let policyName: String?
-
Indicates if the policy should be automatically applied to new resources.
Declaration
Swift
public let remediationEnabled: Bool?
-
The type of resource protected by or in scope of the policy. This is in the format shown in the AWS Resource Types Reference. For AWS WAF and Shield Advanced, examples include AWS::ElasticLoadBalancingV2::LoadBalancer and AWS::CloudFront::Distribution. For a security group common policy, valid values are AWS::EC2::NetworkInterface and AWS::EC2::Instance. For a security group content audit policy, valid values are AWS::EC2::SecurityGroup, AWS::EC2::NetworkInterface, and AWS::EC2::Instance. For a security group usage audit policy, the value is AWS::EC2::SecurityGroup.
Declaration
Swift
public let resourceType: String?
-
The service that the policy is using to protect the resources. This specifies the type of policy that is created, either an AWS WAF policy, a Shield Advanced policy, or a security group policy.
Declaration
Swift
public let securityServiceType: SecurityServiceType?
-
Undocumented
Declaration
Swift
public init(policyArn: String? = nil, policyId: String? = nil, policyName: String? = nil, remediationEnabled: Bool? = nil, resourceType: String? = nil, securityServiceType: SecurityServiceType? = nil)