Class CfnProvisioningTemplate
Creates a fleet provisioning template.
Inherited Members
Namespace: Amazon.CDK.AWS.IoT
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnProvisioningTemplate : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnProvisioningTemplate
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
CloudformationResource: AWS::IoT::ProvisioningTemplate
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 cfnProvisioningTemplate = new CfnProvisioningTemplate(this, "MyCfnProvisioningTemplate", new CfnProvisioningTemplateProps {
ProvisioningRoleArn = "provisioningRoleArn",
TemplateBody = "templateBody",
// the properties below are optional
Description = "description",
Enabled = false,
PreProvisioningHook = new ProvisioningHookProperty {
PayloadVersion = "payloadVersion",
TargetArn = "targetArn"
},
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} },
TemplateName = "templateName",
TemplateType = "templateType"
});
Synopsis
Constructors
CfnProvisioningTemplate(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnProvisioningTemplate(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnProvisioningTemplate(Construct, String, ICfnProvisioningTemplateProps) |
Properties
AttrTemplateArn | The ARN that identifies the provisioning template. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
Description | The description of the fleet provisioning template. |
Enabled | True to enable the fleet provisioning template, otherwise false. |
PreProvisioningHook | Creates a pre-provisioning hook template. |
ProvisioningRoleArn | The role ARN for the role associated with the fleet provisioning template. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | Metadata that can be used to manage the fleet provisioning template. |
TemplateBody | The JSON formatted contents of the fleet provisioning template version. |
TemplateName | The name of the fleet provisioning template. |
TemplateType | The type of the provisioning template. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnProvisioningTemplate(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnProvisioningTemplate(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnProvisioningTemplate(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnProvisioningTemplate(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnProvisioningTemplate(Construct, String, ICfnProvisioningTemplateProps)
public CfnProvisioningTemplate(Construct scope, string id, ICfnProvisioningTemplateProps 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 ICfnProvisioningTemplateProps
Resource properties.
Properties
AttrTemplateArn
The ARN that identifies the provisioning template.
public virtual string AttrTemplateArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: TemplateArn
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
Description
The description of the fleet provisioning template.
public virtual string Description { get; set; }
Property Value
System.String
Enabled
True to enable the fleet provisioning template, otherwise false.
public virtual object Enabled { get; set; }
Property Value
System.Object
PreProvisioningHook
Creates a pre-provisioning hook template.
public virtual object PreProvisioningHook { get; set; }
Property Value
System.Object
ProvisioningRoleArn
The role ARN for the role associated with the fleet provisioning template.
public virtual string ProvisioningRoleArn { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
Metadata that can be used to manage the fleet provisioning template.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
TemplateBody
The JSON formatted contents of the fleet provisioning template version.
public virtual string TemplateBody { get; set; }
Property Value
System.String
TemplateName
The name of the fleet provisioning template.
public virtual string TemplateName { get; set; }
Property Value
System.String
TemplateType
The type of the provisioning template.
public virtual string TemplateType { get; set; }
Property Value
System.String
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
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.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>