Documentation ¶
Index ¶
- Constants
- func Collect(stack cfn.Stack, required, optional map[string]Collector) error
- func Exists(stack cfn.Stack, key string) bool
- type Collector
- type CollectorSet
- func (c *CollectorSet) Define(template *gfn.Template, name string, value interface{}, export bool, ...)
- func (c *CollectorSet) DefineFromAtt(template *gfn.Template, name, logicalName, att string, export bool, ...)
- func (c *CollectorSet) DefineJoined(template *gfn.Template, name string, values []*gfnt.Value, export bool, ...)
- func (c *CollectorSet) DefineWithoutCollector(template *gfn.Template, name string, value interface{}, export bool)
- func (c *CollectorSet) MustCollect(stack cfn.Stack) error
Constants ¶
View Source
const ( // outputs from cluster stack ClusterVPC = "VPC" ClusterDefaultSecurityGroup = "ClusterSecurityGroupId" ClusterSecurityGroup = "SecurityGroup" ClusterSubnetsPrivate = string("Subnets" + api.SubnetTopologyPrivate) ClusterSubnetsPublic = string("Subnets" + api.SubnetTopologyPublic) ClusterFullyPrivate = "ClusterFullyPrivate" ClusterSubnetsPublicLegacy = "Subnets" ClusterCertificateAuthorityData = "CertificateAuthorityData" ClusterEndpoint = "Endpoint" ClusterARN = "ARN" ClusterStackName = "ClusterStackName" ClusterServiceRoleARN = "ServiceRoleARN" ClusterFeatureNATMode = "FeatureNATMode" // outputs from nodegroup stack NodeGroupInstanceRoleARN = "InstanceRoleARN" NodeGroupInstanceProfileARN = "InstanceProfileARN" // outputs to indicate configuration attributes that may have critical effect // on critical effect on forward-compatibility with respect to overall functionality // and integrity, e.g. networking NodeGroupFeaturePrivateNetworking = "FeaturePrivateNetworking" NodeGroupFeatureLocalSecurityGroup = "FeatureLocalSecurityGroup" NodeGroupFeaturePrivateEndpointAccess = "FeaturePrivateEndpointAccess" // outputs from Fargate stack: FargatePodExecutionRoleARN = "FargatePodExecutionRoleARN" // IAMServiceAccountRoleName is the name of iamserviceaccount role resource and output. IAMServiceAccountRoleName = "Role1" )
Stack output names
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Collector ¶
Collector is a callback function that takes an output value and may return an error
type CollectorSet ¶
type CollectorSet struct {
// contains filtered or unexported fields
}
CollectorSet is a wrapper to define methods for collectors
func NewCollectorSet ¶
func NewCollectorSet(set map[string]Collector) *CollectorSet
NewCollectorSet creates a new CollectorSet based on a map of output names to Collector callbacks
func (*CollectorSet) Define ¶
func (c *CollectorSet) Define(template *gfn.Template, name string, value interface{}, export bool, fn Collector)
Define a new output, if template is given it will be declared in the it and optionally export too
func (*CollectorSet) DefineFromAtt ¶
func (c *CollectorSet) DefineFromAtt(template *gfn.Template, name, logicalName, att string, export bool, fn Collector)
DefineFromAtt - a new output from an attributes
func (*CollectorSet) DefineJoined ¶
func (c *CollectorSet) DefineJoined(template *gfn.Template, name string, values []*gfnt.Value, export bool, fn Collector)
DefineJoined - a new output as comma-separated list
func (*CollectorSet) DefineWithoutCollector ¶
func (c *CollectorSet) DefineWithoutCollector(template *gfn.Template, name string, value interface{}, export bool)
DefineWithoutCollector allows bare outputs
func (*CollectorSet) MustCollect ¶
func (c *CollectorSet) MustCollect(stack cfn.Stack) error
MustCollect will error if any of the outputs are missing
Click to show internal directories.
Click to hide internal directories.