ConfigurationItem
public struct ConfigurationItem : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The 12-digit AWS account ID associated with the resource.
Declaration
Swift
public let accountId: String?
-
accoun
Declaration
Swift
public let arn: String?
-
The Availability Zone associated with the resource.
Declaration
Swift
public let availabilityZone: String?
-
The region where the resource resides.
Declaration
Swift
public let awsRegion: String?
-
The description of the resource configuration.
Declaration
Swift
public let configuration: String?
-
The time when the configuration recording was initiated.
Declaration
Swift
public let configurationItemCaptureTime: TimeStamp?
-
Unique MD5 hash that represents the configuration item’s state. You can use MD5 hash to compare the states of two or more configuration items that are associated with the same resource.
Declaration
Swift
public let configurationItemMD5Hash: String?
-
The configuration item status. The valid values are: OK – The resource configuration has been updated ResourceDiscovered – The resource was newly discovered ResourceNotRecorded – The resource was discovered but its configuration was not recorded since the recorder excludes the recording of resources of this type ResourceDeleted – The resource was deleted ResourceDeletedNotRecorded – The resource was deleted but its configuration was not recorded since the recorder excludes the recording of resources of this type The CIs do not incur any cost.
Declaration
Swift
public let configurationItemStatus: ConfigurationItemStatus?
-
An identifier that indicates the ordering of the configuration items of a resource.
Declaration
Swift
public let configurationStateId: String?
-
A list of CloudTrail event IDs. A populated field indicates that the current configuration was initiated by the events recorded in the CloudTrail log. For more information about CloudTrail, see What Is AWS CloudTrail. An empty field indicates that the current configuration was not initiated by any event. As of Version 1.3, the relatedEvents field is empty. You can access the LookupEvents API in the AWS CloudTrail API Reference to retrieve the events for the resource.
Declaration
Swift
public let relatedEvents: [String]?
-
A list of related AWS resources.
Declaration
Swift
public let relationships: [Relationship]?
-
The time stamp when the resource was created.
Declaration
Swift
public let resourceCreationTime: TimeStamp?
-
The ID of the resource (for example, sg-xxxxxx).
Declaration
Swift
public let resourceId: String?
-
The custom name of the resource, if available.
Declaration
Swift
public let resourceName: String?
-
The type of AWS resource.
Declaration
Swift
public let resourceType: ResourceType?
-
Configuration attributes that AWS Config returns for certain resource types to supplement the information returned for the configuration parameter.
Declaration
Swift
public let supplementaryConfiguration: [String : String]?
-
A mapping of key value tags associated with the resource.
Declaration
Swift
public let tags: [String : String]?
-
The version number of the resource configuration.
Declaration
Swift
public let version: String?
-
init(accountId:arn:availabilityZone:awsRegion:configuration:configurationItemCaptureTime:configurationItemMD5Hash:configurationItemStatus:configurationStateId:relatedEvents:relationships:resourceCreationTime:resourceId:resourceName:resourceType:supplementaryConfiguration:tags:version:)
Undocumented
Declaration
Swift
public init(accountId: String? = nil, arn: String? = nil, availabilityZone: String? = nil, awsRegion: String? = nil, configuration: String? = nil, configurationItemCaptureTime: TimeStamp? = nil, configurationItemMD5Hash: String? = nil, configurationItemStatus: ConfigurationItemStatus? = nil, configurationStateId: String? = nil, relatedEvents: [String]? = nil, relationships: [Relationship]? = nil, resourceCreationTime: TimeStamp? = nil, resourceId: String? = nil, resourceName: String? = nil, resourceType: ResourceType? = nil, supplementaryConfiguration: [String : String]? = nil, tags: [String : String]? = nil, version: String? = nil)