Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LoggingConfig ¶
type LoggingConfig struct { // The Amazon CloudWatch log group to which CloudFormation sends error logging information when invoking the type's handlers. LogGroupName string `json:"LogGroupName,omitempty"` // The ARN of the role that CloudFormation should assume when sending log entries to CloudWatch logs. LogRoleArn string `json:"LogRoleArn,omitempty"` }
LoggingConfig
func (*LoggingConfig) MarshalJSON ¶
func (strct *LoggingConfig) MarshalJSON() ([]byte, error)
func (*LoggingConfig) UnmarshalJSON ¶
func (strct *LoggingConfig) UnmarshalJSON(b []byte) error
type Resource ¶
type Resource struct { // The Amazon Resource Name (ARN) of the extension. Arn string `json:"Arn,omitempty"` // Whether to automatically update the extension in this account and region when a new minor version is published by the extension publisher. Major versions released by the publisher must be manually updated. AutoUpdate bool `json:"AutoUpdate,omitempty"` // The Amazon Resource Name (ARN) of the IAM execution role to use to register the type. If your resource type calls AWS APIs in any of its handlers, you must create an IAM execution role that includes the necessary permissions to call those AWS APIs, and provision that execution role in your account. CloudFormation then assumes that execution role to provide your resource type with the appropriate credentials. ExecutionRoleArn string `json:"ExecutionRoleArn,omitempty"` // Specifies logging configuration information for a type. LoggingConfig *LoggingConfig `json:"LoggingConfig,omitempty"` // The Major Version of the type you want to enable MajorVersion string `json:"MajorVersion,omitempty"` // The Amazon Resource Number (ARN) assigned to the public extension upon publication PublicTypeArn string `json:"PublicTypeArn,omitempty"` // The publisher id assigned by CloudFormation for publishing in this region. PublisherId string `json:"PublisherId,omitempty"` // The kind of extension Type string `json:"Type,omitempty"` // The name of the type being registered. // // We recommend that type names adhere to the following pattern: company_or_organization::service::type. TypeName string `json:"TypeName,omitempty"` // An alias to assign to the public extension in this account and region. If you specify an alias for the extension, you must then use the alias to refer to the extension in your templates. TypeNameAlias string `json:"TypeNameAlias,omitempty"` // Manually updates a previously-enabled type to a new major or minor version, if available. You can also use this parameter to update the value of AutoUpdateEnabled VersionBump string `json:"VersionBump,omitempty"` }
Resource Enable a resource that has been published in the CloudFormation Registry.
func (*Resource) MarshalJSON ¶
func (*Resource) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.