infrastructureconfiguration

package
v0.0.0-...-1f78e34 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InstanceMetadataOptions

type InstanceMetadataOptions struct {

	// Limit the number of hops that an instance metadata request can traverse to reach its destination.
	HttpPutResponseHopLimit int `json:"HttpPutResponseHopLimit,omitempty"`

	// Indicates whether a signed token header is required for instance metadata retrieval requests. The values affect the response as follows:
	HttpTokens string `json:"HttpTokens,omitempty"`
}

InstanceMetadataOptions The instance metadata option settings for the infrastructure configuration.

func (*InstanceMetadataOptions) MarshalJSON

func (strct *InstanceMetadataOptions) MarshalJSON() ([]byte, error)

func (*InstanceMetadataOptions) UnmarshalJSON

func (strct *InstanceMetadataOptions) UnmarshalJSON(b []byte) error

type Logging

type Logging struct {
	S3Logs *S3Logs `json:"S3Logs,omitempty"`
}

Logging The logging configuration of the infrastructure configuration.

func (*Logging) MarshalJSON

func (strct *Logging) MarshalJSON() ([]byte, error)

func (*Logging) UnmarshalJSON

func (strct *Logging) UnmarshalJSON(b []byte) error

type Resource

type Resource struct {

	// The Amazon Resource Name (ARN) of the infrastructure configuration.
	Arn string `json:"Arn,omitempty"`

	// The description of the infrastructure configuration.
	Description string `json:"Description,omitempty"`

	// The instance metadata option settings for the infrastructure configuration.
	InstanceMetadataOptions *InstanceMetadataOptions `json:"InstanceMetadataOptions,omitempty"`

	// The instance profile of the infrastructure configuration.
	InstanceProfileName string `json:"InstanceProfileName"`

	// The instance types of the infrastructure configuration.
	InstanceTypes []string `json:"InstanceTypes,omitempty"`

	// The EC2 key pair of the infrastructure configuration..
	KeyPair string `json:"KeyPair,omitempty"`

	// The logging configuration of the infrastructure configuration.
	Logging *Logging `json:"Logging,omitempty"`

	// The name of the infrastructure configuration.
	Name string `json:"Name"`

	// The tags attached to the resource created by Image Builder.
	ResourceTags *ResourceTags `json:"ResourceTags,omitempty"`

	// The security group IDs of the infrastructure configuration.
	SecurityGroupIds []string `json:"SecurityGroupIds,omitempty"`

	// The SNS Topic Amazon Resource Name (ARN) of the infrastructure configuration.
	SnsTopicArn string `json:"SnsTopicArn,omitempty"`

	// The subnet ID of the infrastructure configuration.
	SubnetId string `json:"SubnetId,omitempty"`

	// The tags associated with the component.
	Tags *Tags `json:"Tags,omitempty"`

	// The terminate instance on failure configuration of the infrastructure configuration.
	TerminateInstanceOnFailure bool `json:"TerminateInstanceOnFailure,omitempty"`
}

Resource Resource schema for AWS::ImageBuilder::InfrastructureConfiguration

func (*Resource) MarshalJSON

func (strct *Resource) MarshalJSON() ([]byte, error)

func (*Resource) UnmarshalJSON

func (strct *Resource) UnmarshalJSON(b []byte) error

type ResourceTags

type ResourceTags struct {
}

ResourceTags The tags attached to the resource created by Image Builder.

func (*ResourceTags) MarshalJSON

func (strct *ResourceTags) MarshalJSON() ([]byte, error)

func (*ResourceTags) UnmarshalJSON

func (strct *ResourceTags) UnmarshalJSON(b []byte) error

type S3Logs

type S3Logs struct {

	// S3BucketName
	S3BucketName string `json:"S3BucketName,omitempty"`

	// S3KeyPrefix
	S3KeyPrefix string `json:"S3KeyPrefix,omitempty"`
}

S3Logs The S3 path in which to store the logs.

func (*S3Logs) MarshalJSON

func (strct *S3Logs) MarshalJSON() ([]byte, error)

func (*S3Logs) UnmarshalJSON

func (strct *S3Logs) UnmarshalJSON(b []byte) error

type TagMap

type TagMap struct {

	// TagKey
	TagKey string `json:"TagKey,omitempty"`

	// TagValue
	TagValue string `json:"TagValue,omitempty"`
}

TagMap TagMap

func (*TagMap) MarshalJSON

func (strct *TagMap) MarshalJSON() ([]byte, error)

func (*TagMap) UnmarshalJSON

func (strct *TagMap) UnmarshalJSON(b []byte) error

type Tags

type Tags struct {
}

Tags The tags associated with the component.

func (*Tags) MarshalJSON

func (strct *Tags) MarshalJSON() ([]byte, error)

func (*Tags) UnmarshalJSON

func (strct *Tags) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL