Documentation ¶
Index ¶
- func Certificate_IsConstruct(x interface{}) *bool
- func Certificate_IsResource(construct constructs.IConstruct) *bool
- func CfnAccount_CFN_RESOURCE_TYPE_NAME() *string
- func CfnAccount_IsCfnElement(x interface{}) *bool
- func CfnAccount_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnAccount_IsConstruct(x interface{}) *bool
- func CfnCertificate_CFN_RESOURCE_TYPE_NAME() *string
- func CfnCertificate_IsCfnElement(x interface{}) *bool
- func CfnCertificate_IsCfnResource(construct constructs.IConstruct) *bool
- func CfnCertificate_IsConstruct(x interface{}) *bool
- func DnsValidatedCertificate_IsConstruct(x interface{}) *bool
- func DnsValidatedCertificate_IsResource(construct constructs.IConstruct) *bool
- func NewCertificate_Override(c Certificate, scope constructs.Construct, id *string, props *CertificateProps)
- func NewCfnAccount_Override(c CfnAccount, scope constructs.Construct, id *string, props *CfnAccountProps)
- func NewCfnCertificate_Override(c CfnCertificate, scope constructs.Construct, id *string, ...)
- func NewDnsValidatedCertificate_Override(d DnsValidatedCertificate, scope constructs.Construct, id *string, ...)
- func NewPrivateCertificate_Override(p PrivateCertificate, scope constructs.Construct, id *string, ...)
- func PrivateCertificate_IsConstruct(x interface{}) *bool
- func PrivateCertificate_IsResource(construct constructs.IConstruct) *bool
- type Certificate
- type CertificateProps
- type CertificateValidation
- func CertificateValidation_FromDns(hostedZone awsroute53.IHostedZone) CertificateValidation
- func CertificateValidation_FromDnsMultiZone(hostedZones *map[string]awsroute53.IHostedZone) CertificateValidation
- func CertificateValidation_FromEmail(validationDomains *map[string]*string) CertificateValidation
- type CertificationValidationProps
- type CfnAccount
- type CfnAccountProps
- type CfnAccount_ExpiryEventsConfigurationProperty
- type CfnCertificate
- type CfnCertificateProps
- type CfnCertificate_DomainValidationOptionProperty
- type DnsValidatedCertificate
- type DnsValidatedCertificateProps
- type ICertificate
- type PrivateCertificate
- type PrivateCertificateProps
- type ValidationMethod
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Certificate_IsConstruct ¶
func Certificate_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 Certificate_IsResource ¶
func Certificate_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource. Experimental.
func CfnAccount_CFN_RESOURCE_TYPE_NAME ¶
func CfnAccount_CFN_RESOURCE_TYPE_NAME() *string
func CfnAccount_IsCfnElement ¶
func CfnAccount_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. Experimental.
func CfnAccount_IsCfnResource ¶
func CfnAccount_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource. Experimental.
func CfnAccount_IsConstruct ¶
func CfnAccount_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 CfnCertificate_CFN_RESOURCE_TYPE_NAME ¶
func CfnCertificate_CFN_RESOURCE_TYPE_NAME() *string
func CfnCertificate_IsCfnElement ¶
func CfnCertificate_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. Experimental.
func CfnCertificate_IsCfnResource ¶
func CfnCertificate_IsCfnResource(construct constructs.IConstruct) *bool
Check whether the given construct is a CfnResource. Experimental.
func CfnCertificate_IsConstruct ¶
func CfnCertificate_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 DnsValidatedCertificate_IsConstruct ¶
func DnsValidatedCertificate_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 DnsValidatedCertificate_IsResource ¶
func DnsValidatedCertificate_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource. Experimental.
func NewCertificate_Override ¶
func NewCertificate_Override(c Certificate, scope constructs.Construct, id *string, props *CertificateProps)
Experimental.
func NewCfnAccount_Override ¶
func NewCfnAccount_Override(c CfnAccount, scope constructs.Construct, id *string, props *CfnAccountProps)
Create a new `AWS::CertificateManager::Account`.
func NewCfnCertificate_Override ¶
func NewCfnCertificate_Override(c CfnCertificate, scope constructs.Construct, id *string, props *CfnCertificateProps)
Create a new `AWS::CertificateManager::Certificate`.
func NewDnsValidatedCertificate_Override ¶
func NewDnsValidatedCertificate_Override(d DnsValidatedCertificate, scope constructs.Construct, id *string, props *DnsValidatedCertificateProps)
Experimental.
func NewPrivateCertificate_Override ¶
func NewPrivateCertificate_Override(p PrivateCertificate, scope constructs.Construct, id *string, props *PrivateCertificateProps)
Experimental.
func PrivateCertificate_IsConstruct ¶
func PrivateCertificate_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 PrivateCertificate_IsResource ¶
func PrivateCertificate_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource. Experimental.
Types ¶
type Certificate ¶
type Certificate interface { awscdk.Resource ICertificate CertificateArn() *string Env() *awscdk.ResourceEnvironment Node() constructs.Node PhysicalName() *string Region() *string Stack() awscdk.Stack ApplyRemovalPolicy(policy awscdk.RemovalPolicy) GeneratePhysicalName() *string GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string GetResourceNameAttribute(nameAttr *string) *string MetricDaysToExpiry(props *awscloudwatch.MetricOptions) awscloudwatch.Metric ToString() *string }
A certificate managed by AWS Certificate Manager. Experimental.
func NewCertificate ¶
func NewCertificate(scope constructs.Construct, id *string, props *CertificateProps) Certificate
Experimental.
type CertificateProps ¶
type CertificateProps struct { // Fully-qualified domain name to request a certificate for. // // May contain wildcards, such as “*.domain.com“. // Experimental. DomainName *string `json:"domainName"` // Alternative domain names on your certificate. // // Use this to register alternative domain names that represent the same site. // Experimental. SubjectAlternativeNames *[]*string `json:"subjectAlternativeNames"` // How to validate this certificate. // Experimental. Validation CertificateValidation `json:"validation"` // What validation domain to use for every requested domain. // // Has to be a superdomain of the requested domain. // Deprecated: use `validation` instead. ValidationDomains *map[string]*string `json:"validationDomains"` // Validation method used to assert domain ownership. // Deprecated: use `validation` instead. ValidationMethod ValidationMethod `json:"validationMethod"` }
Properties for your certificate. Experimental.
type CertificateValidation ¶
type CertificateValidation interface { Method() ValidationMethod Props() *CertificationValidationProps }
How to validate a certificate. Experimental.
func CertificateValidation_FromDns ¶
func CertificateValidation_FromDns(hostedZone awsroute53.IHostedZone) CertificateValidation
Validate the certificate with DNS.
IMPORTANT: If `hostedZone` is not specified, DNS records must be added manually and the stack will not complete creating until the records are added. Experimental.
func CertificateValidation_FromDnsMultiZone ¶
func CertificateValidation_FromDnsMultiZone(hostedZones *map[string]awsroute53.IHostedZone) CertificateValidation
Validate the certificate with automatically created DNS records in multiple Amazon Route 53 hosted zones. Experimental.
func CertificateValidation_FromEmail ¶
func CertificateValidation_FromEmail(validationDomains *map[string]*string) CertificateValidation
Validate the certificate with Email.
IMPORTANT: if you are creating a certificate as part of your stack, the stack will not complete creating until you read and follow the instructions in the email that you will receive.
ACM will send validation emails to the following addresses:
admin@domain.com administrator@domain.com hostmaster@domain.com postmaster@domain.com webmaster@domain.com
For every domain that you register. Experimental.
type CertificationValidationProps ¶
type CertificationValidationProps struct { // Hosted zone to use for DNS validation. // Experimental. HostedZone awsroute53.IHostedZone `json:"hostedZone"` // A map of hosted zones to use for DNS validation. // Experimental. HostedZones *map[string]awsroute53.IHostedZone `json:"hostedZones"` // Validation method. // Experimental. Method ValidationMethod `json:"method"` // Validation domains to use for email validation. // Experimental. ValidationDomains *map[string]*string `json:"validationDomains"` }
Properties for certificate validation. Experimental.
type CfnAccount ¶
type CfnAccount interface { awscdk.CfnResource awscdk.IInspectable AttrAccountId() *string CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string CreationStack() *[]*string ExpiryEventsConfiguration() interface{} SetExpiryEventsConfiguration(val interface{}) LogicalId() *string Node() constructs.Node Ref() *string Stack() awscdk.Stack 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::CertificateManager::Account`.
func NewCfnAccount ¶
func NewCfnAccount(scope constructs.Construct, id *string, props *CfnAccountProps) CfnAccount
Create a new `AWS::CertificateManager::Account`.
type CfnAccountProps ¶
type CfnAccountProps struct {
// `AWS::CertificateManager::Account.ExpiryEventsConfiguration`.
ExpiryEventsConfiguration interface{} `json:"expiryEventsConfiguration"`
}
Properties for defining a `AWS::CertificateManager::Account`.
type CfnAccount_ExpiryEventsConfigurationProperty ¶
type CfnAccount_ExpiryEventsConfigurationProperty struct { // `CfnAccount.ExpiryEventsConfigurationProperty.DaysBeforeExpiry`. DaysBeforeExpiry *float64 `json:"daysBeforeExpiry"` }
type CfnCertificate ¶
type CfnCertificate interface { awscdk.CfnResource awscdk.IInspectable CertificateAuthorityArn() *string SetCertificateAuthorityArn(val *string) CertificateTransparencyLoggingPreference() *string SetCertificateTransparencyLoggingPreference(val *string) CfnOptions() awscdk.ICfnResourceOptions CfnProperties() *map[string]interface{} CfnResourceType() *string CreationStack() *[]*string DomainName() *string SetDomainName(val *string) DomainValidationOptions() interface{} SetDomainValidationOptions(val interface{}) LogicalId() *string Node() constructs.Node Ref() *string Stack() awscdk.Stack SubjectAlternativeNames() *[]*string SetSubjectAlternativeNames(val *[]*string) Tags() awscdk.TagManager UpdatedProperites() *map[string]interface{} ValidationMethod() *string SetValidationMethod(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::CertificateManager::Certificate`.
func NewCfnCertificate ¶
func NewCfnCertificate(scope constructs.Construct, id *string, props *CfnCertificateProps) CfnCertificate
Create a new `AWS::CertificateManager::Certificate`.
type CfnCertificateProps ¶
type CfnCertificateProps struct { // `AWS::CertificateManager::Certificate.DomainName`. DomainName *string `json:"domainName"` // `AWS::CertificateManager::Certificate.CertificateAuthorityArn`. CertificateAuthorityArn *string `json:"certificateAuthorityArn"` // `AWS::CertificateManager::Certificate.CertificateTransparencyLoggingPreference`. CertificateTransparencyLoggingPreference *string `json:"certificateTransparencyLoggingPreference"` // `AWS::CertificateManager::Certificate.DomainValidationOptions`. DomainValidationOptions interface{} `json:"domainValidationOptions"` // `AWS::CertificateManager::Certificate.SubjectAlternativeNames`. SubjectAlternativeNames *[]*string `json:"subjectAlternativeNames"` // `AWS::CertificateManager::Certificate.Tags`. Tags *[]*awscdk.CfnTag `json:"tags"` // `AWS::CertificateManager::Certificate.ValidationMethod`. ValidationMethod *string `json:"validationMethod"` }
Properties for defining a `AWS::CertificateManager::Certificate`.
type CfnCertificate_DomainValidationOptionProperty ¶
type CfnCertificate_DomainValidationOptionProperty struct { // `CfnCertificate.DomainValidationOptionProperty.DomainName`. DomainName *string `json:"domainName"` // `CfnCertificate.DomainValidationOptionProperty.HostedZoneId`. HostedZoneId *string `json:"hostedZoneId"` // `CfnCertificate.DomainValidationOptionProperty.ValidationDomain`. ValidationDomain *string `json:"validationDomain"` }
type DnsValidatedCertificate ¶
type DnsValidatedCertificate interface { awscdk.Resource ICertificate awscdk.ITaggable CertificateArn() *string Env() *awscdk.ResourceEnvironment Node() constructs.Node PhysicalName() *string Region() *string Stack() awscdk.Stack Tags() awscdk.TagManager ApplyRemovalPolicy(policy awscdk.RemovalPolicy) GeneratePhysicalName() *string GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string GetResourceNameAttribute(nameAttr *string) *string MetricDaysToExpiry(props *awscloudwatch.MetricOptions) awscloudwatch.Metric ToString() *string }
A certificate managed by AWS Certificate Manager.
Will be automatically validated using DNS validation against the specified Route 53 hosted zone. Experimental.
func NewDnsValidatedCertificate ¶
func NewDnsValidatedCertificate(scope constructs.Construct, id *string, props *DnsValidatedCertificateProps) DnsValidatedCertificate
Experimental.
type DnsValidatedCertificateProps ¶
type DnsValidatedCertificateProps struct { // Fully-qualified domain name to request a certificate for. // // May contain wildcards, such as “*.domain.com“. // Experimental. DomainName *string `json:"domainName"` // Alternative domain names on your certificate. // // Use this to register alternative domain names that represent the same site. // Experimental. SubjectAlternativeNames *[]*string `json:"subjectAlternativeNames"` // How to validate this certificate. // Experimental. Validation CertificateValidation `json:"validation"` // What validation domain to use for every requested domain. // // Has to be a superdomain of the requested domain. // Deprecated: use `validation` instead. ValidationDomains *map[string]*string `json:"validationDomains"` // Validation method used to assert domain ownership. // Deprecated: use `validation` instead. ValidationMethod ValidationMethod `json:"validationMethod"` // Route 53 Hosted Zone used to perform DNS validation of the request. // // The zone // must be authoritative for the domain name specified in the Certificate Request. // Experimental. HostedZone awsroute53.IHostedZone `json:"hostedZone"` // Role to use for the custom resource that creates the validated certificate. // Experimental. CustomResourceRole awsiam.IRole `json:"customResourceRole"` // AWS region that will host the certificate. // // This is needed especially // for certificates used for CloudFront distributions, which require the region // to be us-east-1. // Experimental. Region *string `json:"region"` // An endpoint of Route53 service, which is not necessary as AWS SDK could figure out the right endpoints for most regions, but for some regions such as those in aws-cn partition, the default endpoint is not working now, hence the right endpoint need to be specified through this prop. // // Route53 is not been officially launched in China, it is only available for AWS // internal accounts now. To make DnsValidatedCertificate work for internal accounts // now, a special endpoint needs to be provided. // Experimental. Route53Endpoint *string `json:"route53Endpoint"` }
Properties to create a DNS validated certificate managed by AWS Certificate Manager. Experimental.
type ICertificate ¶
type ICertificate interface { awscdk.IResource // Return the DaysToExpiry metric for this AWS Certificate Manager Certificate. By default, this is the minimum value over 1 day. // // This metric is no longer emitted once the certificate has effectively // expired, so alarms configured on this metric should probably treat missing // data as "breaching". // Experimental. MetricDaysToExpiry(props *awscloudwatch.MetricOptions) awscloudwatch.Metric // The certificate's ARN. // Experimental. CertificateArn() *string }
Represents a certificate in AWS Certificate Manager. Experimental.
func Certificate_FromCertificateArn ¶
func Certificate_FromCertificateArn(scope constructs.Construct, id *string, certificateArn *string) ICertificate
Import a certificate. Experimental.
func PrivateCertificate_FromCertificateArn ¶
func PrivateCertificate_FromCertificateArn(scope constructs.Construct, id *string, certificateArn *string) ICertificate
Import a certificate. Experimental.
type PrivateCertificate ¶
type PrivateCertificate interface { awscdk.Resource ICertificate CertificateArn() *string Env() *awscdk.ResourceEnvironment Node() constructs.Node PhysicalName() *string Region() *string Stack() awscdk.Stack ApplyRemovalPolicy(policy awscdk.RemovalPolicy) GeneratePhysicalName() *string GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string GetResourceNameAttribute(nameAttr *string) *string MetricDaysToExpiry(props *awscloudwatch.MetricOptions) awscloudwatch.Metric ToString() *string }
A private certificate managed by AWS Certificate Manager. Experimental.
func NewPrivateCertificate ¶
func NewPrivateCertificate(scope constructs.Construct, id *string, props *PrivateCertificateProps) PrivateCertificate
Experimental.
type PrivateCertificateProps ¶
type PrivateCertificateProps struct { // Private certificate authority (CA) that will be used to issue the certificate. // Experimental. CertificateAuthority awsacmpca.ICertificateAuthority `json:"certificateAuthority"` // Fully-qualified domain name to request a private certificate for. // // May contain wildcards, such as “*.domain.com“. // Experimental. DomainName *string `json:"domainName"` // Alternative domain names on your private certificate. // // Use this to register alternative domain names that represent the same site. // Experimental. SubjectAlternativeNames *[]*string `json:"subjectAlternativeNames"` }
Properties for your private certificate. Experimental.
type ValidationMethod ¶
type ValidationMethod string
Method used to assert ownership of the domain. Experimental.
const ( ValidationMethod_EMAIL ValidationMethod = "EMAIL" ValidationMethod_DNS ValidationMethod = "DNS" )