Class CfnCACertificate
Specifies a CA certificate.
Inherited Members
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnCACertificate : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnCACertificate
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-cacertificate.html
CloudformationResource: AWS::IoT::CACertificate
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.IoT;
var cfnCACertificate = new CfnCACertificate(this, "MyCfnCACertificate", new CfnCACertificateProps {
CaCertificatePem = "caCertificatePem",
Status = "status",
// the properties below are optional
AutoRegistrationStatus = "autoRegistrationStatus",
CertificateMode = "certificateMode",
RegistrationConfig = new RegistrationConfigProperty {
RoleArn = "roleArn",
TemplateBody = "templateBody",
TemplateName = "templateName"
},
RemoveAutoRegistration = false,
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
VerificationCertificatePem = "verificationCertificatePem"
});
Synopsis
Constructors
Cfn |
Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Cfn |
Used by jsii to construct an instance of this class from DeputyProps |
Cfn |
Properties
Attr |
Returns the Amazon Resource Name (ARN) for the CA certificate. For example:. |
Attr |
The CA certificate ID. |
Auto |
Whether the CA certificate is configured for auto registration of device certificates. |
Ca |
The certificate data in PEM format. |
Certificate |
The mode of the CA. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
Cfn |
|
Registration |
Information about the registration configuration. |
Remove |
If true, removes auto registration. |
Status | The status of the CA certificate. |
Tags | Tag Manager which manages the tags for this resource. |
Tags |
An array of key-value pairs to apply to this resource. |
Verification |
The private key verification certificate. |
Methods
Inspect(Tree |
Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnCACertificate(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnCACertificate(ByRefValue reference)
Parameters
- reference Amazon.
JSII. Runtime. Deputy. By Ref Value The Javascript-owned object reference
CfnCACertificate(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnCACertificate(DeputyBase.DeputyProps props)
Parameters
- props Amazon.
JSII. Runtime. Deputy. Deputy Base. Deputy Props The deputy props
CfnCACertificate(Construct, String, ICfnCACertificateProps)
public CfnCACertificate(Construct scope, string id, ICfnCACertificateProps props)
Parameters
- scope Constructs.
Construct Scope in which this resource is defined.
- id System.
String Construct identifier for this resource (unique in its scope).
- props ICfn
CACertificate Props Resource properties.
Properties
AttrArn
Returns the Amazon Resource Name (ARN) for the CA certificate. For example:.
public virtual string AttrArn { get; }
Property Value
System.
Remarks
{ "Fn::GetAtt": ["MyCACertificate", "Arn"] }
A value similar to the following is returned:
arn:aws:iot:us-east-1:123456789012:cacert/a6be6b84559801927e35a8f901fae08b5971d78d1562e29504ff9663b276a5f5
CloudformationAttribute: Arn
AttrId
The CA certificate ID.
public virtual string AttrId { get; }
Property Value
System.
Remarks
CloudformationAttribute: Id
AutoRegistrationStatus
Whether the CA certificate is configured for auto registration of device certificates.
public virtual string AutoRegistrationStatus { get; set; }
Property Value
System.
CaCertificatePem
The certificate data in PEM format.
public virtual string CaCertificatePem { get; set; }
Property Value
System.
CertificateMode
The mode of the CA.
public virtual string CertificateMode { get; set; }
Property Value
System.
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.
Overrides
RegistrationConfig
Information about the registration configuration.
public virtual object RegistrationConfig { get; set; }
Property Value
System.
RemoveAutoRegistration
If true, removes auto registration.
public virtual object RemoveAutoRegistration { get; set; }
Property Value
System.
Status
The status of the CA certificate.
public virtual string Status { get; set; }
Property Value
System.
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
An array of key-value pairs to apply to this resource.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfn
VerificationCertificatePem
The private key verification certificate.
public virtual string VerificationCertificatePem { get; set; }
Property Value
System.
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector Tree
Inspector tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.
Collections. <System.Generic. IDictionary String , System.Object >
Returns
System.