We recommend new projects start with resources from the AWS provider.
aws-native.iot.ProvisioningTemplate
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Creates a fleet provisioning template.
Create ProvisioningTemplate Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ProvisioningTemplate(name: string, args: ProvisioningTemplateArgs, opts?: CustomResourceOptions);@overload
def ProvisioningTemplate(resource_name: str,
                         args: ProvisioningTemplateArgs,
                         opts: Optional[ResourceOptions] = None)
@overload
def ProvisioningTemplate(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         provisioning_role_arn: Optional[str] = None,
                         template_body: Optional[str] = None,
                         description: Optional[str] = None,
                         enabled: Optional[bool] = None,
                         pre_provisioning_hook: Optional[ProvisioningTemplateProvisioningHookArgs] = None,
                         tags: Optional[Sequence[_root_inputs.TagArgs]] = None,
                         template_name: Optional[str] = None,
                         template_type: Optional[ProvisioningTemplateTemplateType] = None)func NewProvisioningTemplate(ctx *Context, name string, args ProvisioningTemplateArgs, opts ...ResourceOption) (*ProvisioningTemplate, error)public ProvisioningTemplate(string name, ProvisioningTemplateArgs args, CustomResourceOptions? opts = null)
public ProvisioningTemplate(String name, ProvisioningTemplateArgs args)
public ProvisioningTemplate(String name, ProvisioningTemplateArgs args, CustomResourceOptions options)
type: aws-native:iot:ProvisioningTemplate
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ProvisioningTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ProvisioningTemplateArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ProvisioningTemplateArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProvisioningTemplateArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProvisioningTemplateArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ProvisioningTemplate Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ProvisioningTemplate resource accepts the following input properties:
- ProvisioningRole stringArn 
- The role ARN for the role associated with the fleet provisioning template. This IoT role grants permission to provision a device.
- TemplateBody string
- The JSON formatted contents of the fleet provisioning template version.
- Description string
- The description of the fleet provisioning template.
- Enabled bool
- True to enable the fleet provisioning template, otherwise false.
- PreProvisioning Pulumi.Hook Aws Native. Io T. Inputs. Provisioning Template Provisioning Hook 
- Creates a pre-provisioning hook template.
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- Metadata that can be used to manage the fleet provisioning template.
- TemplateName string
- The name of the fleet provisioning template.
- TemplateType Pulumi.Aws Native. Io T. Provisioning Template Template Type 
- The type of the provisioning template.
- ProvisioningRole stringArn 
- The role ARN for the role associated with the fleet provisioning template. This IoT role grants permission to provision a device.
- TemplateBody string
- The JSON formatted contents of the fleet provisioning template version.
- Description string
- The description of the fleet provisioning template.
- Enabled bool
- True to enable the fleet provisioning template, otherwise false.
- PreProvisioning ProvisioningHook Template Provisioning Hook Args 
- Creates a pre-provisioning hook template.
- 
TagArgs 
- Metadata that can be used to manage the fleet provisioning template.
- TemplateName string
- The name of the fleet provisioning template.
- TemplateType ProvisioningTemplate Template Type 
- The type of the provisioning template.
- provisioningRole StringArn 
- The role ARN for the role associated with the fleet provisioning template. This IoT role grants permission to provision a device.
- templateBody String
- The JSON formatted contents of the fleet provisioning template version.
- description String
- The description of the fleet provisioning template.
- enabled Boolean
- True to enable the fleet provisioning template, otherwise false.
- preProvisioning ProvisioningHook Template Provisioning Hook 
- Creates a pre-provisioning hook template.
- List<Tag>
- Metadata that can be used to manage the fleet provisioning template.
- templateName String
- The name of the fleet provisioning template.
- templateType ProvisioningTemplate Template Type 
- The type of the provisioning template.
- provisioningRole stringArn 
- The role ARN for the role associated with the fleet provisioning template. This IoT role grants permission to provision a device.
- templateBody string
- The JSON formatted contents of the fleet provisioning template version.
- description string
- The description of the fleet provisioning template.
- enabled boolean
- True to enable the fleet provisioning template, otherwise false.
- preProvisioning ProvisioningHook Template Provisioning Hook 
- Creates a pre-provisioning hook template.
- Tag[]
- Metadata that can be used to manage the fleet provisioning template.
- templateName string
- The name of the fleet provisioning template.
- templateType ProvisioningTemplate Template Type 
- The type of the provisioning template.
- provisioning_role_ strarn 
- The role ARN for the role associated with the fleet provisioning template. This IoT role grants permission to provision a device.
- template_body str
- The JSON formatted contents of the fleet provisioning template version.
- description str
- The description of the fleet provisioning template.
- enabled bool
- True to enable the fleet provisioning template, otherwise false.
- pre_provisioning_ Provisioninghook Template Provisioning Hook Args 
- Creates a pre-provisioning hook template.
- 
Sequence[TagArgs] 
- Metadata that can be used to manage the fleet provisioning template.
- template_name str
- The name of the fleet provisioning template.
- template_type ProvisioningTemplate Template Type 
- The type of the provisioning template.
- provisioningRole StringArn 
- The role ARN for the role associated with the fleet provisioning template. This IoT role grants permission to provision a device.
- templateBody String
- The JSON formatted contents of the fleet provisioning template version.
- description String
- The description of the fleet provisioning template.
- enabled Boolean
- True to enable the fleet provisioning template, otherwise false.
- preProvisioning Property MapHook 
- Creates a pre-provisioning hook template.
- List<Property Map>
- Metadata that can be used to manage the fleet provisioning template.
- templateName String
- The name of the fleet provisioning template.
- templateType "FLEET_PROVISIONING" | "JITP"
- The type of the provisioning template.
Outputs
All input properties are implicitly available as output properties. Additionally, the ProvisioningTemplate resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- TemplateArn string
- The ARN that identifies the provisioning template.
- Id string
- The provider-assigned unique ID for this managed resource.
- TemplateArn string
- The ARN that identifies the provisioning template.
- id String
- The provider-assigned unique ID for this managed resource.
- templateArn String
- The ARN that identifies the provisioning template.
- id string
- The provider-assigned unique ID for this managed resource.
- templateArn string
- The ARN that identifies the provisioning template.
- id str
- The provider-assigned unique ID for this managed resource.
- template_arn str
- The ARN that identifies the provisioning template.
- id String
- The provider-assigned unique ID for this managed resource.
- templateArn String
- The ARN that identifies the provisioning template.
Supporting Types
ProvisioningTemplateProvisioningHook, ProvisioningTemplateProvisioningHookArgs        
- PayloadVersion string
- The payload that was sent to the target function. The valid payload is "2020-04-01".
- TargetArn string
- The ARN of the target function.
- PayloadVersion string
- The payload that was sent to the target function. The valid payload is "2020-04-01".
- TargetArn string
- The ARN of the target function.
- payloadVersion String
- The payload that was sent to the target function. The valid payload is "2020-04-01".
- targetArn String
- The ARN of the target function.
- payloadVersion string
- The payload that was sent to the target function. The valid payload is "2020-04-01".
- targetArn string
- The ARN of the target function.
- payload_version str
- The payload that was sent to the target function. The valid payload is "2020-04-01".
- target_arn str
- The ARN of the target function.
- payloadVersion String
- The payload that was sent to the target function. The valid payload is "2020-04-01".
- targetArn String
- The ARN of the target function.
ProvisioningTemplateTemplateType, ProvisioningTemplateTemplateTypeArgs        
- FleetProvisioning 
- FLEET_PROVISIONING
- Jitp
- JITP
- ProvisioningTemplate Template Type Fleet Provisioning 
- FLEET_PROVISIONING
- ProvisioningTemplate Template Type Jitp 
- JITP
- FleetProvisioning 
- FLEET_PROVISIONING
- Jitp
- JITP
- FleetProvisioning 
- FLEET_PROVISIONING
- Jitp
- JITP
- FLEET_PROVISIONING
- FLEET_PROVISIONING
- JITP
- JITP
- "FLEET_PROVISIONING"
- FLEET_PROVISIONING
- "JITP"
- JITP
Tag, TagArgs  
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.