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:
- Provisioning
Role stringArn - The role ARN for the role associated with the fleet provisioning template. This IoT role grants permission to provision a device.
- Template
Body 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.
- Pre
Provisioning 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.
- Template
Name string - The name of the fleet provisioning template.
- Template
Type Pulumi.Aws Native. Io T. Provisioning Template Template Type - The type of the provisioning template.
- Provisioning
Role stringArn - The role ARN for the role associated with the fleet provisioning template. This IoT role grants permission to provision a device.
- Template
Body 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.
- Pre
Provisioning ProvisioningHook Template Provisioning Hook Args - Creates a pre-provisioning hook template.
- Tag
Args - Metadata that can be used to manage the fleet provisioning template.
- Template
Name string - The name of the fleet provisioning template.
- Template
Type ProvisioningTemplate Template Type - The type of the provisioning template.
- provisioning
Role StringArn - The role ARN for the role associated with the fleet provisioning template. This IoT role grants permission to provision a device.
- template
Body 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.
- pre
Provisioning ProvisioningHook Template Provisioning Hook - Creates a pre-provisioning hook template.
- List<Tag>
- Metadata that can be used to manage the fleet provisioning template.
- template
Name String - The name of the fleet provisioning template.
- template
Type ProvisioningTemplate Template Type - The type of the provisioning template.
- provisioning
Role stringArn - The role ARN for the role associated with the fleet provisioning template. This IoT role grants permission to provision a device.
- template
Body 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.
- pre
Provisioning ProvisioningHook Template Provisioning Hook - Creates a pre-provisioning hook template.
- Tag[]
- Metadata that can be used to manage the fleet provisioning template.
- template
Name string - The name of the fleet provisioning template.
- template
Type 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[Tag
Args] - 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.
- provisioning
Role StringArn - The role ARN for the role associated with the fleet provisioning template. This IoT role grants permission to provision a device.
- template
Body 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.
- pre
Provisioning Property MapHook - Creates a pre-provisioning hook template.
- List<Property Map>
- Metadata that can be used to manage the fleet provisioning template.
- template
Name String - The name of the fleet provisioning template.
- template
Type "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.
- Template
Arn string - The ARN that identifies the provisioning template.
- Id string
- The provider-assigned unique ID for this managed resource.
- Template
Arn string - The ARN that identifies the provisioning template.
- id String
- The provider-assigned unique ID for this managed resource.
- template
Arn String - The ARN that identifies the provisioning template.
- id string
- The provider-assigned unique ID for this managed resource.
- template
Arn 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.
- template
Arn String - The ARN that identifies the provisioning template.
Supporting Types
ProvisioningTemplateProvisioningHook, ProvisioningTemplateProvisioningHookArgs
- Payload
Version string - The payload that was sent to the target function. The valid payload is
"2020-04-01"
. - Target
Arn string - The ARN of the target function.
- Payload
Version string - The payload that was sent to the target function. The valid payload is
"2020-04-01"
. - Target
Arn string - The ARN of the target function.
- payload
Version String - The payload that was sent to the target function. The valid payload is
"2020-04-01"
. - target
Arn String - The ARN of the target function.
- payload
Version string - The payload that was sent to the target function. The valid payload is
"2020-04-01"
. - target
Arn 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.
- payload
Version String - The payload that was sent to the target function. The valid payload is
"2020-04-01"
. - target
Arn String - The ARN of the target function.
ProvisioningTemplateTemplateType, ProvisioningTemplateTemplateTypeArgs
- Fleet
Provisioning - FLEET_PROVISIONING
- Jitp
- JITP
- Provisioning
Template Template Type Fleet Provisioning - FLEET_PROVISIONING
- Provisioning
Template Template Type Jitp - JITP
- Fleet
Provisioning - FLEET_PROVISIONING
- Jitp
- JITP
- Fleet
Provisioning - 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.