aws-native.iotcoredeviceadvisor.SuiteDefinition
An example resource schema demonstrating some basic constructs and validation rules.
Example Usage
Example
using System.Collections.Generic;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var testSuiteDefinition = new AwsNative.IoTCoreDeviceAdvisor.SuiteDefinition("testSuiteDefinition", new()
{
SuiteDefinitionConfiguration = new AwsNative.IoTCoreDeviceAdvisor.Inputs.SuiteDefinitionConfigurationPropertiesArgs
{
SuiteDefinitionName = "SuiteDefinitionName",
DevicePermissionRoleArn = "arn:aws:iam::123456789012:role/RoleName",
Devices = new[]
{
new AwsNative.IoTCoreDeviceAdvisor.Inputs.SuiteDefinitionDeviceUnderTestArgs
{
ThingArn = "arn:aws:iot:us-east-1:123456789012:thing/ThingName",
},
},
RootGroup = @"{
""configuration"": {},
""tests"": [{
""name"": ""TestGroup"",
""configuration"": {
""EXECUTION_TIMEOUT"": ""30""
},
""tests"": [{
""name"": ""MQTTPublishTest"",
""configuration"": {
""TOPIC_FOR_PUBLISH_VALIDATION"": ""target""
},
""test"": {
""id"": ""MQTT_Publish"",
""version"": ""0.0.0""
}
}]
}]
}",
IntendedForQualification = false,
},
});
});
Coming soon!
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
test_suite_definition = aws_native.iotcoredeviceadvisor.SuiteDefinition("testSuiteDefinition", suite_definition_configuration=aws_native.iotcoredeviceadvisor.SuiteDefinitionConfigurationPropertiesArgs(
suite_definition_name="SuiteDefinitionName",
device_permission_role_arn="arn:aws:iam::123456789012:role/RoleName",
devices=[aws_native.iotcoredeviceadvisor.SuiteDefinitionDeviceUnderTestArgs(
thing_arn="arn:aws:iot:us-east-1:123456789012:thing/ThingName",
)],
root_group="""{
"configuration": {},
"tests": [{
"name": "TestGroup",
"configuration": {
"EXECUTION_TIMEOUT": "30"
},
"tests": [{
"name": "MQTTPublishTest",
"configuration": {
"TOPIC_FOR_PUBLISH_VALIDATION": "target"
},
"test": {
"id": "MQTT_Publish",
"version": "0.0.0"
}
}]
}]
}""",
intended_for_qualification=False,
))
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const testSuiteDefinition = new aws_native.iotcoredeviceadvisor.SuiteDefinition("testSuiteDefinition", {suiteDefinitionConfiguration: {
suiteDefinitionName: "SuiteDefinitionName",
devicePermissionRoleArn: "arn:aws:iam::123456789012:role/RoleName",
devices: [{
thingArn: "arn:aws:iot:us-east-1:123456789012:thing/ThingName",
}],
rootGroup: `{
"configuration": {},
"tests": [{
"name": "TestGroup",
"configuration": {
"EXECUTION_TIMEOUT": "30"
},
"tests": [{
"name": "MQTTPublishTest",
"configuration": {
"TOPIC_FOR_PUBLISH_VALIDATION": "target"
},
"test": {
"id": "MQTT_Publish",
"version": "0.0.0"
}
}]
}]
}`,
intendedForQualification: false,
}});
Coming soon!
Example
using System.Collections.Generic;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var testSuiteDefinition = new AwsNative.IoTCoreDeviceAdvisor.SuiteDefinition("testSuiteDefinition", new()
{
SuiteDefinitionConfiguration = new AwsNative.IoTCoreDeviceAdvisor.Inputs.SuiteDefinitionConfigurationPropertiesArgs
{
SuiteDefinitionName = "SuiteDefinitionName",
DevicePermissionRoleArn = "arn:aws:iam::123456789012:role/RoleName",
Devices = new[]
{
new AwsNative.IoTCoreDeviceAdvisor.Inputs.SuiteDefinitionDeviceUnderTestArgs
{
ThingArn = "arn:aws:iot:us-east-1:123456789012:thing/ThingName",
},
},
RootGroup = "{ \"configuration\": {}, \"tests\": [{ \"name\": \"TestGroup\", \"configuration\": { \"EXECUTION_TIMEOUT\": \"30\" }, \"tests\": [{ \"name\": \"MQTTPublishTest\", \"configuration\": { \"TOPIC_FOR_PUBLISH_VALIDATION\": \"target\" }, \"test\": { \"id\": \"MQTT_Publish\", \"version\": \"0.0.0\" } }] }] }",
IntendedForQualification = false,
},
});
});
Coming soon!
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
test_suite_definition = aws_native.iotcoredeviceadvisor.SuiteDefinition("testSuiteDefinition", suite_definition_configuration=aws_native.iotcoredeviceadvisor.SuiteDefinitionConfigurationPropertiesArgs(
suite_definition_name="SuiteDefinitionName",
device_permission_role_arn="arn:aws:iam::123456789012:role/RoleName",
devices=[aws_native.iotcoredeviceadvisor.SuiteDefinitionDeviceUnderTestArgs(
thing_arn="arn:aws:iot:us-east-1:123456789012:thing/ThingName",
)],
root_group="{ \"configuration\": {}, \"tests\": [{ \"name\": \"TestGroup\", \"configuration\": { \"EXECUTION_TIMEOUT\": \"30\" }, \"tests\": [{ \"name\": \"MQTTPublishTest\", \"configuration\": { \"TOPIC_FOR_PUBLISH_VALIDATION\": \"target\" }, \"test\": { \"id\": \"MQTT_Publish\", \"version\": \"0.0.0\" } }] }] }",
intended_for_qualification=False,
))
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const testSuiteDefinition = new aws_native.iotcoredeviceadvisor.SuiteDefinition("testSuiteDefinition", {suiteDefinitionConfiguration: {
suiteDefinitionName: "SuiteDefinitionName",
devicePermissionRoleArn: "arn:aws:iam::123456789012:role/RoleName",
devices: [{
thingArn: "arn:aws:iot:us-east-1:123456789012:thing/ThingName",
}],
rootGroup: "{ \"configuration\": {}, \"tests\": [{ \"name\": \"TestGroup\", \"configuration\": { \"EXECUTION_TIMEOUT\": \"30\" }, \"tests\": [{ \"name\": \"MQTTPublishTest\", \"configuration\": { \"TOPIC_FOR_PUBLISH_VALIDATION\": \"target\" }, \"test\": { \"id\": \"MQTT_Publish\", \"version\": \"0.0.0\" } }] }] }",
intendedForQualification: false,
}});
Coming soon!
Create SuiteDefinition Resource
new SuiteDefinition(name: string, args: SuiteDefinitionArgs, opts?: CustomResourceOptions);
@overload
def SuiteDefinition(resource_name: str,
opts: Optional[ResourceOptions] = None,
suite_definition_configuration: Optional[SuiteDefinitionConfigurationPropertiesArgs] = None,
tags: Optional[Sequence[SuiteDefinitionTagArgs]] = None)
@overload
def SuiteDefinition(resource_name: str,
args: SuiteDefinitionArgs,
opts: Optional[ResourceOptions] = None)
func NewSuiteDefinition(ctx *Context, name string, args SuiteDefinitionArgs, opts ...ResourceOption) (*SuiteDefinition, error)
public SuiteDefinition(string name, SuiteDefinitionArgs args, CustomResourceOptions? opts = null)
public SuiteDefinition(String name, SuiteDefinitionArgs args)
public SuiteDefinition(String name, SuiteDefinitionArgs args, CustomResourceOptions options)
type: aws-native:iotcoredeviceadvisor:SuiteDefinition
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SuiteDefinitionArgs
- 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 SuiteDefinitionArgs
- 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 SuiteDefinitionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SuiteDefinitionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SuiteDefinitionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
SuiteDefinition Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The SuiteDefinition resource accepts the following input properties:
- Suite
Definition Pulumi.Configuration Aws Native. Io TCore Device Advisor. Inputs. Suite Definition Configuration Properties Args - List<Pulumi.
Aws Native. Io TCore Device Advisor. Inputs. Suite Definition Tag Args> An array of key-value pairs to apply to this resource.
- Suite
Definition SuiteConfiguration Definition Configuration Properties Args - []Suite
Definition Tag Args An array of key-value pairs to apply to this resource.
- suite
Definition SuiteConfiguration Definition Configuration Properties Args - List<Suite
Definition Tag Args> An array of key-value pairs to apply to this resource.
- suite
Definition SuiteConfiguration Definition Configuration Properties Args - Suite
Definition Tag Args[] An array of key-value pairs to apply to this resource.
- suite_
definition_ Suiteconfiguration Definition Configuration Properties Args - Sequence[Suite
Definition Tag Args] An array of key-value pairs to apply to this resource.
- suite
Definition Property MapConfiguration - List<Property Map>
An array of key-value pairs to apply to this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the SuiteDefinition resource produces the following output properties:
- Id string
The provider-assigned unique ID for this managed resource.
- Suite
Definition stringArn The Amazon Resource name for the suite definition.
- Suite
Definition stringId The unique identifier for the suite definition.
- Suite
Definition stringVersion The suite definition version of a test suite.
- Id string
The provider-assigned unique ID for this managed resource.
- Suite
Definition stringArn The Amazon Resource name for the suite definition.
- Suite
Definition stringId The unique identifier for the suite definition.
- Suite
Definition stringVersion The suite definition version of a test suite.
- id String
The provider-assigned unique ID for this managed resource.
- suite
Definition StringArn The Amazon Resource name for the suite definition.
- suite
Definition StringId The unique identifier for the suite definition.
- suite
Definition StringVersion The suite definition version of a test suite.
- id string
The provider-assigned unique ID for this managed resource.
- suite
Definition stringArn The Amazon Resource name for the suite definition.
- suite
Definition stringId The unique identifier for the suite definition.
- suite
Definition stringVersion The suite definition version of a test suite.
- id str
The provider-assigned unique ID for this managed resource.
- suite_
definition_ strarn The Amazon Resource name for the suite definition.
- suite_
definition_ strid The unique identifier for the suite definition.
- suite_
definition_ strversion The suite definition version of a test suite.
- id String
The provider-assigned unique ID for this managed resource.
- suite
Definition StringArn The Amazon Resource name for the suite definition.
- suite
Definition StringId The unique identifier for the suite definition.
- suite
Definition StringVersion The suite definition version of a test suite.
Supporting Types
SuiteDefinitionConfigurationProperties
- device
Permission StringRole Arn - root
Group String - devices
List<Suite
Definition Device Under Test> - intended
For BooleanQualification - suite
Definition StringName
- device
Permission stringRole Arn - root
Group string - devices
Suite
Definition Device Under Test[] - intended
For booleanQualification - suite
Definition stringName
- device
Permission StringRole Arn - root
Group String - devices List<Property Map>
- intended
For BooleanQualification - suite
Definition StringName
SuiteDefinitionDeviceUnderTest
- Certificate
Arn string - Thing
Arn string
- Certificate
Arn string - Thing
Arn string
- certificate
Arn String - thing
Arn String
- certificate
Arn string - thing
Arn string
- certificate_
arn str - thing_
arn str
- certificate
Arn String - thing
Arn String
SuiteDefinitionTag
- Key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- Value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key string
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value string
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key str
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value str
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- key String
The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
- value String
The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0