Documentation
¶
Index ¶
- type Ledger
- func (r *Ledger) AWSCloudFormationType() string
- func (r *Ledger) DeletionPolicy() policies.DeletionPolicy
- func (r *Ledger) DependsOn() []string
- func (r Ledger) MarshalJSON() ([]byte, error)
- func (r *Ledger) Metadata() map[string]interface{}
- func (r *Ledger) SetDeletionPolicy(policy policies.DeletionPolicy)
- func (r *Ledger) SetDependsOn(dependencies []string)
- func (r *Ledger) SetMetadata(metadata map[string]interface{})
- func (r *Ledger) UnmarshalJSON(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ledger ¶
type Ledger struct { // DeletionProtection AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qldb-ledger.html#cfn-qldb-ledger-deletionprotection DeletionProtection bool `json:"DeletionProtection,omitempty"` // Name AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qldb-ledger.html#cfn-qldb-ledger-name Name string `json:"Name,omitempty"` // PermissionsMode AWS CloudFormation Property // Required: true // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qldb-ledger.html#cfn-qldb-ledger-permissionsmode PermissionsMode string `json:"PermissionsMode,omitempty"` // Tags AWS CloudFormation Property // Required: false // See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qldb-ledger.html#cfn-qldb-ledger-tags Tags []tags.Tag `json:"Tags,omitempty"` // contains filtered or unexported fields }
Ledger AWS CloudFormation Resource (AWS::QLDB::Ledger) See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-qldb-ledger.html
func (*Ledger) AWSCloudFormationType ¶
AWSCloudFormationType returns the AWS CloudFormation resource type
func (*Ledger) DeletionPolicy ¶
func (r *Ledger) DeletionPolicy() policies.DeletionPolicy
DeletionPolicy returns the AWS CloudFormation DeletionPolicy to this resource see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
func (*Ledger) DependsOn ¶
DependsOn returns a slice of logical ID names this resource depends on. see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html
func (Ledger) MarshalJSON ¶
MarshalJSON is a custom JSON marshalling hook that embeds this object into an AWS CloudFormation JSON resource's 'Properties' field and adds a 'Type'.
func (*Ledger) Metadata ¶
Metadata returns the metadata associated with this resource. see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-metadata.html
func (*Ledger) SetDeletionPolicy ¶
func (r *Ledger) SetDeletionPolicy(policy policies.DeletionPolicy)
SetDeletionPolicy applies an AWS CloudFormation DeletionPolicy to this resource see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-deletionpolicy.html
func (*Ledger) SetDependsOn ¶
SetDependsOn specify that the creation of this resource follows another. see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-dependson.html
func (*Ledger) SetMetadata ¶
SetMetadata enables you to associate structured data with this resource. see: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-attribute-metadata.html
func (*Ledger) UnmarshalJSON ¶
UnmarshalJSON is a custom JSON unmarshalling hook that strips the outer AWS CloudFormation resource object, and just keeps the 'Properties' field.