Certificate
- Implements: ICertificate
This class encapsulates and extends the ROS resource type ALIYUN::ESA::Certificate.
Initializers
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkesa"
alicloudroscdkesa.NewCertificate(scope Construct, id *string, props CertificateProps, enableResourcePropertyConstraint *bool) Certificate
| Name | Type | Description |
|---|---|---|
scope | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct | No description. |
id | *string | No description. |
props | CertificateProps | No description. |
enableResourcePropertyConstraint | *bool | No description. |
scopeRequired
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Construct
idRequired
- Type: *string
propsRequired
- Type: CertificateProps
enableResourcePropertyConstraintOptional
- Type: *bool
Methods
| Name | Description |
|---|---|
ToString | Returns a string representation of this construct. |
Synthesize | Allows this construct to emit artifacts into the cloud assembly during synthesis. |
AddCondition | No description. |
AddCount | No description. |
AddDependency | No description. |
AddResourceDesc | No description. |
ApplyRemovalPolicy | No description. |
FetchCondition | No description. |
FetchDependency | No description. |
FetchResourceDesc | No description. |
GetAtt | No description. |
SetMetadata | No description. |
ToString
func ToString() *string
Returns a string representation of this construct.
Synthesize
func Synthesize(session ISynthesisSession)
Allows this construct to emit artifacts into the cloud assembly during synthesis.
This method is usually implemented by framework-level constructs such as Stack and Asset as they participate in synthesizing the cloud assembly.
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ISynthesisSession
The synthesis session.
AddCondition
func AddCondition(condition RosCondition)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosCondition
AddCount
func AddCount(count interface{})
- Type: interface{}
AddDependency
func AddDependency(resource Resource)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Resource
AddResourceDesc
func AddResourceDesc(desc *string)
- Type: *string
ApplyRemovalPolicy
func ApplyRemovalPolicy(policy RemovalPolicy)
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RemovalPolicy
FetchCondition
func FetchCondition() RosCondition
FetchDependency
func FetchDependency() *[]*string
FetchResourceDesc
func FetchResourceDesc() *string
GetAtt
func GetAtt(name *string) IResolvable
- Type: *string
SetMetadata
func SetMetadata(key *string, value interface{})
- Type: *string
- Type: interface{}
Static Functions
| Name | Description |
|---|---|
IsConstruct | Return whether the given object is a Construct. |
IsConstruct
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkesa"
alicloudroscdkesa.Certificate_IsConstruct(x interface{}) *bool
Return whether the given object is a Construct.
- Type: interface{}
Properties
| Name | Type | Description |
|---|---|---|
Node | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode | The construct tree node associated with this construct. |
Env | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment | The environment this resource belongs to. |
Ref | *string | No description. |
Stack | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack | The stack in which this resource is defined. |
Resource | github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource | No description. |
AttrApplyCode | interface{} | Attribute ApplyCode: Certificate application error code. |
AttrApplyMessage | interface{} | Attribute ApplyMessage: Certificate application error message. |
AttrCasId | interface{} | Attribute CasId: Cloud certificate ID. |
AttrCertId | interface{} | Attribute CertId: The certificate Id. |
AttrCertificate | interface{} | Attribute Certificate: Certificate content. |
AttrCertName | interface{} | Attribute CertName: The certificate name. |
AttrCommonName | interface{} | Attribute CommonName: Common Name (CN) field of the certificate. |
AttrCreateTime | interface{} | Attribute CreateTime: Creation time. |
AttrDcv | interface{} | Attribute DCV: DCV information. |
AttrDomains | interface{} | Attribute Domains: A list of domain names. |
AttrFingerprintSha256 | interface{} | Attribute FingerprintSha256: SHA256 fingerprint of the certificate. |
AttrIssuer | interface{} | Attribute Issuer: Certificate issuer. |
AttrIssuerCn | interface{} | Attribute IssuerCN: Common name of the certificate issuer. |
AttrNotAfter | interface{} | Attribute NotAfter: End time of the certificate validity period. |
AttrNotBefore | interface{} | Attribute NotBefore: Start time of the certificate validity period. |
AttrPubAlg | interface{} | Attribute PubAlg: Certificate public key algorithm. |
AttrSerialNumber | interface{} | Attribute SerialNumber: Serial number of the certificate. |
AttrSigAlg | interface{} | Attribute SigAlg: Certificate signature algorithm. |
AttrSiteId | interface{} | Attribute SiteId: The site ID, which can be obtained by calling the ListSites interface. |
AttrSiteName | interface{} | Attribute SiteName: Site name. |
AttrUpdateTime | interface{} | Attribute UpdateTime: Update time. |
Props | CertificateProps | No description. |
NodeRequired
func Node() ConstructNode
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.ConstructNode
The construct tree node associated with this construct.
EnvRequired
func Env() IResourceEnvironment
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IResourceEnvironment
The environment this resource belongs to.
For resources that are created and managed by the CDK (generally, those created by creating new class instances like Role, Bucket, etc.), this is always the same as the environment of the stack they belong to; however, for imported resources (those obtained from static methods like fromRoleArn, fromBucketName, etc.), that might be different than the stack they were imported into.
RefRequired
func Ref() *string
- Type: *string
StackRequired
func Stack() Stack
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.Stack
The stack in which this resource is defined.
ResourceOptional
func Resource() RosResource
- Type: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.RosResource
AttrApplyCodeRequired
func AttrApplyCode() interface{}
- Type: interface{}
Attribute ApplyCode: Certificate application error code.
AttrApplyMessageRequired
func AttrApplyMessage() interface{}
- Type: interface{}
Attribute ApplyMessage: Certificate application error message.
AttrCasIdRequired
func AttrCasId() interface{}
- Type: interface{}
Attribute CasId: Cloud certificate ID.
AttrCertIdRequired
func AttrCertId() interface{}
- Type: interface{}
Attribute CertId: The certificate Id.
AttrCertificateRequired
func AttrCertificate() interface{}
- Type: interface{}
Attribute Certificate: Certificate content.
AttrCertNameRequired
func AttrCertName() interface{}
- Type: interface{}
Attribute CertName: The certificate name.
AttrCommonNameRequired
func AttrCommonName() interface{}
- Type: interface{}
Attribute CommonName: Common Name (CN) field of the certificate.
AttrCreateTimeRequired
func AttrCreateTime() interface{}
- Type: interface{}
Attribute CreateTime: Creation time.
AttrDcvRequired
func AttrDcv() interface{}
- Type: interface{}
Attribute DCV: DCV information.
AttrDomainsRequired
func AttrDomains() interface{}
- Type: interface{}
Attribute Domains: A list of domain names.
Multiple domain names are separated by commas.
AttrFingerprintSha256Required
func AttrFingerprintSha256() interface{}
- Type: interface{}
Attribute FingerprintSha256: SHA256 fingerprint of the certificate.
AttrIssuerRequired
func AttrIssuer() interface{}
- Type: interface{}
Attribute Issuer: Certificate issuer.
AttrIssuerCnRequired
func AttrIssuerCn() interface{}
- Type: interface{}
Attribute IssuerCN: Common name of the certificate issuer.
AttrNotAfterRequired
func AttrNotAfter() interface{}
- Type: interface{}
Attribute NotAfter: End time of the certificate validity period.
AttrNotBeforeRequired
func AttrNotBefore() interface{}
- Type: interface{}
Attribute NotBefore: Start time of the certificate validity period.
AttrPubAlgRequired
func AttrPubAlg() interface{}
- Type: interface{}
Attribute PubAlg: Certificate public key algorithm.
AttrSerialNumberRequired
func AttrSerialNumber() interface{}
- Type: interface{}
Attribute SerialNumber: Serial number of the certificate.
AttrSigAlgRequired
func AttrSigAlg() interface{}
- Type: interface{}
Attribute SigAlg: Certificate signature algorithm.
AttrSiteIdRequired
func AttrSiteId() interface{}
- Type: interface{}
Attribute SiteId: The site ID, which can be obtained by calling the ListSites interface.
AttrSiteNameRequired
func AttrSiteName() interface{}
- Type: interface{}
Attribute SiteName: Site name.
AttrUpdateTimeRequired
func AttrUpdateTime() interface{}
- Type: interface{}
Attribute UpdateTime: Update time.
PropsRequired
func Props() CertificateProps
- Type: CertificateProps