Documentation
¶
Index ¶
- func CfnDomain_CFN_RESOURCE_TYPE_NAME() *string
- func CfnDomain_IsCfnElement(x interface{}) *bool
- func CfnDomain_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnDomain_IsConstruct(x interface{}) *bool
- func CfnRepository_CFN_RESOURCE_TYPE_NAME() *string
- func CfnRepository_IsCfnElement(x interface{}) *bool
- func CfnRepository_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnRepository_IsConstruct(x interface{}) *bool
- func NewCfnDomain_Override(c CfnDomain, scope constructs.Construct, id *string, props *CfnDomainProps)
- func NewCfnRepository_Override(c CfnRepository, scope constructs.Construct, id *string, ...)
- type CfnDomain
- type CfnDomainProps
- type CfnRepository
- type CfnRepositoryProps
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CfnDomain_CFN_RESOURCE_TYPE_NAME ¶
func CfnDomain_CFN_RESOURCE_TYPE_NAME() *string
func CfnDomain_IsCfnElement ¶
func CfnDomain_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnDomain_IsCfnResource ¶
func CfnDomain_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource.
func CfnDomain_IsConstruct ¶
func CfnDomain_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func CfnRepository_CFN_RESOURCE_TYPE_NAME ¶
func CfnRepository_CFN_RESOURCE_TYPE_NAME() *string
func CfnRepository_IsCfnElement ¶
func CfnRepository_IsCfnElement(x interface{}) *bool
Returns `true` if a construct is a stack element (i.e. part of the synthesized cloudformation template).
Uses duck-typing instead of `instanceof` to allow stack elements from different versions of this library to be included in the same stack.
Returns: The construct as a stack element or undefined if it is not a stack element.
func CfnRepository_IsCfnResource ¶
func CfnRepository_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource.
func CfnRepository_IsConstruct ¶
func CfnRepository_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated: use `x instanceof Construct` instead
func NewCfnDomain_Override ¶
func NewCfnDomain_Override(c CfnDomain, scope constructs.Construct, id *string, props *CfnDomainProps)
Create a new `AWS::CodeArtifact::Domain`.
func NewCfnRepository_Override ¶
func NewCfnRepository_Override(c CfnRepository, scope constructs.Construct, id *string, props *CfnRepositoryProps)
Create a new `AWS::CodeArtifact::Repository`.
Types ¶
type CfnDomain ¶
type CfnDomain interface {
awscdk.CfnResource
awscdk.IInspectable
AttrArn() *string
AttrEncryptionKey() *string
AttrName() *string
AttrOwner() *string
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
CfnResourceType() *string
CreationStack() *[]*string
DomainName() *string
SetDomainName(val *string)
EncryptionKey() *string
SetEncryptionKey(val *string)
LogicalId() *string
Node() constructs.Node
PermissionsPolicyDocument() interface{}
SetPermissionsPolicyDocument(val interface{})
Ref() *string
Stack() awscdk.Stack
Tags() awscdk.TagManager
UpdatedProperites() *map[string]interface{}
AddDeletionOverride(path *string)
AddDependsOn(target awscdk.CfnResource)
AddMetadata(key *string, value interface{})
AddOverride(path *string, value interface{})
AddPropertyDeletionOverride(propertyPath *string)
AddPropertyOverride(propertyPath *string, value interface{})
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
GetAtt(attributeName *string) awscdk.Reference
GetMetadata(key *string) interface{}
Inspect(inspector awscdk.TreeInspector)
OverrideLogicalId(newLogicalId *string)
RenderProperties(props *map[string]interface{}) *map[string]interface{}
ShouldSynthesize() *bool
ToString() *string
ValidateProperties(_properties interface{})
}
A CloudFormation `AWS::CodeArtifact::Domain`.
TODO: EXAMPLE
func NewCfnDomain ¶
func NewCfnDomain(scope constructs.Construct, id *string, props *CfnDomainProps) CfnDomain
Create a new `AWS::CodeArtifact::Domain`.
type CfnDomainProps ¶
type CfnDomainProps struct {
// `AWS::CodeArtifact::Domain.DomainName`.
DomainName *string `json:"domainName"`
// `AWS::CodeArtifact::Domain.EncryptionKey`.
EncryptionKey *string `json:"encryptionKey"`
// `AWS::CodeArtifact::Domain.PermissionsPolicyDocument`.
PermissionsPolicyDocument interface{} `json:"permissionsPolicyDocument"`
// `AWS::CodeArtifact::Domain.Tags`.
Tags *[]*awscdk.CfnTag `json:"tags"`
}
Properties for defining a `AWS::CodeArtifact::Domain`.
TODO: EXAMPLE
type CfnRepository ¶
type CfnRepository interface {
awscdk.CfnResource
awscdk.IInspectable
AttrArn() *string
AttrDomainName() *string
AttrDomainOwner() *string
AttrName() *string
CfnOptions() awscdk.ICfnResourceOptions
CfnProperties() *map[string]interface{}
CfnResourceType() *string
CreationStack() *[]*string
Description() *string
SetDescription(val *string)
DomainName() *string
SetDomainName(val *string)
DomainOwner() *string
SetDomainOwner(val *string)
ExternalConnections() *[]*string
SetExternalConnections(val *[]*string)
LogicalId() *string
Node() constructs.Node
PermissionsPolicyDocument() interface{}
SetPermissionsPolicyDocument(val interface{})
Ref() *string
RepositoryName() *string
SetRepositoryName(val *string)
Stack() awscdk.Stack
Tags() awscdk.TagManager
UpdatedProperites() *map[string]interface{}
Upstreams() *[]*string
SetUpstreams(val *[]*string)
AddDeletionOverride(path *string)
AddDependsOn(target awscdk.CfnResource)
AddMetadata(key *string, value interface{})
AddOverride(path *string, value interface{})
AddPropertyDeletionOverride(propertyPath *string)
AddPropertyOverride(propertyPath *string, value interface{})
ApplyRemovalPolicy(policy awscdk.RemovalPolicy, options *awscdk.RemovalPolicyOptions)
GetAtt(attributeName *string) awscdk.Reference
GetMetadata(key *string) interface{}
Inspect(inspector awscdk.TreeInspector)
OverrideLogicalId(newLogicalId *string)
RenderProperties(props *map[string]interface{}) *map[string]interface{}
ShouldSynthesize() *bool
ToString() *string
ValidateProperties(_properties interface{})
}
A CloudFormation `AWS::CodeArtifact::Repository`.
TODO: EXAMPLE
func NewCfnRepository ¶
func NewCfnRepository(scope constructs.Construct, id *string, props *CfnRepositoryProps) CfnRepository
Create a new `AWS::CodeArtifact::Repository`.
type CfnRepositoryProps ¶
type CfnRepositoryProps struct {
// `AWS::CodeArtifact::Repository.Description`.
Description *string `json:"description"`
// `AWS::CodeArtifact::Repository.DomainName`.
DomainName *string `json:"domainName"`
// `AWS::CodeArtifact::Repository.DomainOwner`.
DomainOwner *string `json:"domainOwner"`
// `AWS::CodeArtifact::Repository.ExternalConnections`.
ExternalConnections *[]*string `json:"externalConnections"`
// `AWS::CodeArtifact::Repository.PermissionsPolicyDocument`.
PermissionsPolicyDocument interface{} `json:"permissionsPolicyDocument"`
// `AWS::CodeArtifact::Repository.RepositoryName`.
RepositoryName *string `json:"repositoryName"`
// `AWS::CodeArtifact::Repository.Tags`.
Tags *[]*awscdk.CfnTag `json:"tags"`
// `AWS::CodeArtifact::Repository.Upstreams`.
Upstreams *[]*string `json:"upstreams"`
}
Properties for defining a `AWS::CodeArtifact::Repository`.
TODO: EXAMPLE