AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

ConfigurationItem

import "github.com/aws/aws-sdk-go/service/configservice"

type ConfigurationItem struct { AccountId *string `locationName:"accountId" type:"string"` Arn *string `locationName:"arn" type:"string"` AvailabilityZone *string `locationName:"availabilityZone" type:"string"` AwsRegion *string `locationName:"awsRegion" min:"1" type:"string"` Configuration *string `locationName:"configuration" type:"string"` ConfigurationItemCaptureTime *time.Time `locationName:"configurationItemCaptureTime" type:"timestamp"` ConfigurationItemMD5Hash *string `locationName:"configurationItemMD5Hash" type:"string"` ConfigurationItemStatus *string `locationName:"configurationItemStatus" type:"string" enum:"ConfigurationItemStatus"` ConfigurationStateId *string `locationName:"configurationStateId" type:"string"` RelatedEvents []*string `locationName:"relatedEvents" type:"list"` Relationships []*Relationship `locationName:"relationships" type:"list"` ResourceCreationTime *time.Time `locationName:"resourceCreationTime" type:"timestamp"` ResourceId *string `locationName:"resourceId" min:"1" type:"string"` ResourceName *string `locationName:"resourceName" type:"string"` ResourceType *string `locationName:"resourceType" type:"string" enum:"ResourceType"` SupplementaryConfiguration map[string]*string `locationName:"supplementaryConfiguration" type:"map"` Tags map[string]*string `locationName:"tags" type:"map"` Version *string `locationName:"version" type:"string"` }

A list that contains detailed configurations of a specified resource.

AccountId

Type: *string

The 12-digit AWS account ID associated with the resource.

Arn

Type: *string

The Amazon Resource Name (ARN) of the resource.

AvailabilityZone

Type: *string

The Availability Zone associated with the resource.

AwsRegion

Type: *string

The region where the resource resides.

Configuration

Type: *string

The description of the resource configuration.

ConfigurationItemCaptureTime

Type: *time.Time

The time when the configuration recording was initiated.

ConfigurationItemMD5Hash

Type: *string

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.

ConfigurationItemStatus

Type: *string

The configuration item status.

ConfigurationStateId

Type: *string

An identifier that indicates the ordering of the configuration items of a resource.

RelatedEvents

Type: []*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 (https://docs.aws.amazon.com/awscloudtrail/latest/userguide/what_is_cloud_trail_top_level.html).

An empty field indicates that the current configuration was not initiated by any event.

Relationships

The relationship of the related resource to the main resource.

ResourceCreationTime

Type: *time.Time

The time stamp when the resource was created.

ResourceId

Type: *string

The ID of the resource (for example, sg-xxxxxx).

ResourceName

Type: *string

The custom name of the resource, if available.

ResourceType

Type: *string

The type of AWS resource.

SupplementaryConfiguration

Type: map[string]*string

Configuration attributes that AWS Config returns for certain resource types to supplement the information returned for the configuration parameter.

Tags

Type: map[string]*string

A mapping of key value tags associated with the resource.

Version

Type: *string

The version number of the resource configuration.

Method

GoString

func (s ConfigurationItem) GoString() string

GoString returns the string representation

SetAccountId

func (s *ConfigurationItem) SetAccountId(v string) *ConfigurationItem

SetAccountId sets the AccountId field's value.

SetArn

func (s *ConfigurationItem) SetArn(v string) *ConfigurationItem

SetArn sets the Arn field's value.

SetAvailabilityZone

func (s *ConfigurationItem) SetAvailabilityZone(v string) *ConfigurationItem

SetAvailabilityZone sets the AvailabilityZone field's value.

SetAwsRegion

func (s *ConfigurationItem) SetAwsRegion(v string) *ConfigurationItem

SetAwsRegion sets the AwsRegion field's value.

SetConfiguration

func (s *ConfigurationItem) SetConfiguration(v string) *ConfigurationItem

SetConfiguration sets the Configuration field's value.

SetConfigurationItemCaptureTime

func (s *ConfigurationItem) SetConfigurationItemCaptureTime(v time.Time) *ConfigurationItem

SetConfigurationItemCaptureTime sets the ConfigurationItemCaptureTime field's value.

SetConfigurationItemMD5Hash

func (s *ConfigurationItem) SetConfigurationItemMD5Hash(v string) *ConfigurationItem

SetConfigurationItemMD5Hash sets the ConfigurationItemMD5Hash field's value.

SetConfigurationItemStatus

func (s *ConfigurationItem) SetConfigurationItemStatus(v string) *ConfigurationItem

SetConfigurationItemStatus sets the ConfigurationItemStatus field's value.

SetConfigurationStateId

func (s *ConfigurationItem) SetConfigurationStateId(v string) *ConfigurationItem

SetConfigurationStateId sets the ConfigurationStateId field's value.

SetRelatedEvents

func (s *ConfigurationItem) SetRelatedEvents(v []*string) *ConfigurationItem

SetRelatedEvents sets the RelatedEvents field's value.

SetRelationships

func (s *ConfigurationItem) SetRelationships(v []*Relationship) *ConfigurationItem

SetRelationships sets the Relationships field's value.

SetResourceCreationTime

func (s *ConfigurationItem) SetResourceCreationTime(v time.Time) *ConfigurationItem

SetResourceCreationTime sets the ResourceCreationTime field's value.

SetResourceId

func (s *ConfigurationItem) SetResourceId(v string) *ConfigurationItem

SetResourceId sets the ResourceId field's value.

SetResourceName

func (s *ConfigurationItem) SetResourceName(v string) *ConfigurationItem

SetResourceName sets the ResourceName field's value.

SetResourceType

func (s *ConfigurationItem) SetResourceType(v string) *ConfigurationItem

SetResourceType sets the ResourceType field's value.

SetSupplementaryConfiguration

func (s *ConfigurationItem) SetSupplementaryConfiguration(v map[string]*string) *ConfigurationItem

SetSupplementaryConfiguration sets the SupplementaryConfiguration field's value.

SetTags

func (s *ConfigurationItem) SetTags(v map[string]*string) *ConfigurationItem

SetTags sets the Tags field's value.

SetVersion

func (s *ConfigurationItem) SetVersion(v string) *ConfigurationItem

SetVersion sets the Version field's value.

String

func (s ConfigurationItem) String() string

String returns the string representation

On this page: