We recommend new projects start with resources from the AWS provider.
aws-native.iotcoredeviceadvisor.SuiteDefinition
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
An example resource schema demonstrating some basic constructs and validation rules.
Example Usage
Example
using System.Collections.Generic;
using System.Linq;
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,
        },
    });
});
package main
import (
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iotcoredeviceadvisor"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := iotcoredeviceadvisor.NewSuiteDefinition(ctx, "testSuiteDefinition", &iotcoredeviceadvisor.SuiteDefinitionArgs{
			SuiteDefinitionConfiguration: &iotcoredeviceadvisor.SuiteDefinitionConfigurationPropertiesArgs{
				SuiteDefinitionName:     pulumi.String("SuiteDefinitionName"),
				DevicePermissionRoleArn: pulumi.String("arn:aws:iam::123456789012:role/RoleName"),
				Devices: iotcoredeviceadvisor.SuiteDefinitionDeviceUnderTestArray{
					&iotcoredeviceadvisor.SuiteDefinitionDeviceUnderTestArgs{
						ThingArn: pulumi.String("arn:aws:iot:us-east-1:123456789012:thing/ThingName"),
					},
				},
				RootGroup: pulumi.String(`{
"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: pulumi.Bool(false),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Coming soon!
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,
}});
import pulumi
import pulumi_aws_native as aws_native
test_suite_definition = aws_native.iotcoredeviceadvisor.SuiteDefinition("testSuiteDefinition", suite_definition_configuration={
    "suite_definition_name": "SuiteDefinitionName",
    "device_permission_role_arn": "arn:aws:iam::123456789012:role/RoleName",
    "devices": [{
        "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,
})
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
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,
        },
    });
});
package main
import (
	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iotcoredeviceadvisor"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := iotcoredeviceadvisor.NewSuiteDefinition(ctx, "testSuiteDefinition", &iotcoredeviceadvisor.SuiteDefinitionArgs{
			SuiteDefinitionConfiguration: &iotcoredeviceadvisor.SuiteDefinitionConfigurationPropertiesArgs{
				SuiteDefinitionName:     pulumi.String("SuiteDefinitionName"),
				DevicePermissionRoleArn: pulumi.String("arn:aws:iam::123456789012:role/RoleName"),
				Devices: iotcoredeviceadvisor.SuiteDefinitionDeviceUnderTestArray{
					&iotcoredeviceadvisor.SuiteDefinitionDeviceUnderTestArgs{
						ThingArn: pulumi.String("arn:aws:iot:us-east-1:123456789012:thing/ThingName"),
					},
				},
				RootGroup:                pulumi.String("{ \"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: pulumi.Bool(false),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Coming soon!
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,
}});
import pulumi
import pulumi_aws_native as aws_native
test_suite_definition = aws_native.iotcoredeviceadvisor.SuiteDefinition("testSuiteDefinition", suite_definition_configuration={
    "suite_definition_name": "SuiteDefinitionName",
    "device_permission_role_arn": "arn:aws:iam::123456789012:role/RoleName",
    "devices": [{
        "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,
})
Coming soon!
Create SuiteDefinition Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SuiteDefinition(name: string, args: SuiteDefinitionArgs, opts?: CustomResourceOptions);@overload
def SuiteDefinition(resource_name: str,
                    args: SuiteDefinitionArgs,
                    opts: Optional[ResourceOptions] = None)
@overload
def SuiteDefinition(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    suite_definition_configuration: Optional[SuiteDefinitionConfigurationPropertiesArgs] = None,
                    tags: Optional[Sequence[_root_inputs.TagArgs]] = 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.
Parameters
- 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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SuiteDefinition resource accepts the following input properties:
- SuiteDefinition Pulumi.Configuration Aws Native. Io TCore Device Advisor. Inputs. Suite Definition Configuration Properties 
- The configuration of the Suite Definition. Listed below are the required elements of the - SuiteDefinitionConfiguration.- devicePermissionRoleArn - The device permission arn.
 - This is a required element. - Type: String - devices - The list of configured devices under test. For more information on devices under test, see DeviceUnderTest
 - Not a required element. - Type: List of devices under test - intendedForQualification - The tests intended for qualification in a suite.
 - Not a required element. - Type: Boolean - rootGroup - The test suite root group. For more information on creating and using root groups see the Device Advisor workflow .
 - This is a required element. - Type: String - suiteDefinitionName - The Suite Definition Configuration name.
 - This is a required element. - Type: String 
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- An array of key-value pairs to apply to this resource.
- SuiteDefinition SuiteConfiguration Definition Configuration Properties Args 
- The configuration of the Suite Definition. Listed below are the required elements of the - SuiteDefinitionConfiguration.- devicePermissionRoleArn - The device permission arn.
 - This is a required element. - Type: String - devices - The list of configured devices under test. For more information on devices under test, see DeviceUnderTest
 - Not a required element. - Type: List of devices under test - intendedForQualification - The tests intended for qualification in a suite.
 - Not a required element. - Type: Boolean - rootGroup - The test suite root group. For more information on creating and using root groups see the Device Advisor workflow .
 - This is a required element. - Type: String - suiteDefinitionName - The Suite Definition Configuration name.
 - This is a required element. - Type: String 
- 
TagArgs 
- An array of key-value pairs to apply to this resource.
- suiteDefinition SuiteConfiguration Definition Configuration Properties 
- The configuration of the Suite Definition. Listed below are the required elements of the - SuiteDefinitionConfiguration.- devicePermissionRoleArn - The device permission arn.
 - This is a required element. - Type: String - devices - The list of configured devices under test. For more information on devices under test, see DeviceUnderTest
 - Not a required element. - Type: List of devices under test - intendedForQualification - The tests intended for qualification in a suite.
 - Not a required element. - Type: Boolean - rootGroup - The test suite root group. For more information on creating and using root groups see the Device Advisor workflow .
 - This is a required element. - Type: String - suiteDefinitionName - The Suite Definition Configuration name.
 - This is a required element. - Type: String 
- List<Tag>
- An array of key-value pairs to apply to this resource.
- suiteDefinition SuiteConfiguration Definition Configuration Properties 
- The configuration of the Suite Definition. Listed below are the required elements of the - SuiteDefinitionConfiguration.- devicePermissionRoleArn - The device permission arn.
 - This is a required element. - Type: String - devices - The list of configured devices under test. For more information on devices under test, see DeviceUnderTest
 - Not a required element. - Type: List of devices under test - intendedForQualification - The tests intended for qualification in a suite.
 - Not a required element. - Type: Boolean - rootGroup - The test suite root group. For more information on creating and using root groups see the Device Advisor workflow .
 - This is a required element. - Type: String - suiteDefinitionName - The Suite Definition Configuration name.
 - This is a required element. - Type: String 
- Tag[]
- An array of key-value pairs to apply to this resource.
- suite_definition_ Suiteconfiguration Definition Configuration Properties Args 
- The configuration of the Suite Definition. Listed below are the required elements of the - SuiteDefinitionConfiguration.- devicePermissionRoleArn - The device permission arn.
 - This is a required element. - Type: String - devices - The list of configured devices under test. For more information on devices under test, see DeviceUnderTest
 - Not a required element. - Type: List of devices under test - intendedForQualification - The tests intended for qualification in a suite.
 - Not a required element. - Type: Boolean - rootGroup - The test suite root group. For more information on creating and using root groups see the Device Advisor workflow .
 - This is a required element. - Type: String - suiteDefinitionName - The Suite Definition Configuration name.
 - This is a required element. - Type: String 
- 
Sequence[TagArgs] 
- An array of key-value pairs to apply to this resource.
- suiteDefinition Property MapConfiguration 
- The configuration of the Suite Definition. Listed below are the required elements of the - SuiteDefinitionConfiguration.- devicePermissionRoleArn - The device permission arn.
 - This is a required element. - Type: String - devices - The list of configured devices under test. For more information on devices under test, see DeviceUnderTest
 - Not a required element. - Type: List of devices under test - intendedForQualification - The tests intended for qualification in a suite.
 - Not a required element. - Type: Boolean - rootGroup - The test suite root group. For more information on creating and using root groups see the Device Advisor workflow .
 - This is a required element. - Type: String - suiteDefinitionName - The Suite Definition Configuration name.
 - This is a required element. - Type: String 
- 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.
- SuiteDefinition stringArn 
- The Amazon Resource name for the suite definition.
- SuiteDefinition stringId 
- The unique identifier for the suite definition.
- SuiteDefinition stringVersion 
- The suite definition version of a test suite.
- Id string
- The provider-assigned unique ID for this managed resource.
- SuiteDefinition stringArn 
- The Amazon Resource name for the suite definition.
- SuiteDefinition stringId 
- The unique identifier for the suite definition.
- SuiteDefinition stringVersion 
- The suite definition version of a test suite.
- id String
- The provider-assigned unique ID for this managed resource.
- suiteDefinition StringArn 
- The Amazon Resource name for the suite definition.
- suiteDefinition StringId 
- The unique identifier for the suite definition.
- suiteDefinition StringVersion 
- The suite definition version of a test suite.
- id string
- The provider-assigned unique ID for this managed resource.
- suiteDefinition stringArn 
- The Amazon Resource name for the suite definition.
- suiteDefinition stringId 
- The unique identifier for the suite definition.
- suiteDefinition 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.
- suiteDefinition StringArn 
- The Amazon Resource name for the suite definition.
- suiteDefinition StringId 
- The unique identifier for the suite definition.
- suiteDefinition StringVersion 
- The suite definition version of a test suite.
Supporting Types
SuiteDefinitionConfigurationProperties, SuiteDefinitionConfigurationPropertiesArgs        
- DevicePermission stringRole Arn 
- Gets the device permission ARN. This is a required parameter.
- RootGroup string
- Gets the test suite root group. This is a required parameter. For updating or creating the latest qualification suite, if - intendedForQualificationis set to true,- rootGroupcan be an empty string. If- intendedForQualificationis false,- rootGroupcannot be an empty string. If- rootGroupis empty, and- intendedForQualificationis set to true, all the qualification tests are included, and the configuration is default.- For a qualification suite, the minimum length is 0, and the maximum is 2048. For a non-qualification suite, the minimum length is 1, and the maximum is 2048. 
- Devices
List<Pulumi.Aws Native. Io TCore Device Advisor. Inputs. Suite Definition Device Under Test> 
- Gets the devices configured.
- IntendedFor boolQualification 
- Gets the tests intended for qualification in a suite.
- SuiteDefinition stringName 
- Gets the suite definition name. This is a required parameter.
- DevicePermission stringRole Arn 
- Gets the device permission ARN. This is a required parameter.
- RootGroup string
- Gets the test suite root group. This is a required parameter. For updating or creating the latest qualification suite, if - intendedForQualificationis set to true,- rootGroupcan be an empty string. If- intendedForQualificationis false,- rootGroupcannot be an empty string. If- rootGroupis empty, and- intendedForQualificationis set to true, all the qualification tests are included, and the configuration is default.- For a qualification suite, the minimum length is 0, and the maximum is 2048. For a non-qualification suite, the minimum length is 1, and the maximum is 2048. 
- Devices
[]SuiteDefinition Device Under Test 
- Gets the devices configured.
- IntendedFor boolQualification 
- Gets the tests intended for qualification in a suite.
- SuiteDefinition stringName 
- Gets the suite definition name. This is a required parameter.
- devicePermission StringRole Arn 
- Gets the device permission ARN. This is a required parameter.
- rootGroup String
- Gets the test suite root group. This is a required parameter. For updating or creating the latest qualification suite, if - intendedForQualificationis set to true,- rootGroupcan be an empty string. If- intendedForQualificationis false,- rootGroupcannot be an empty string. If- rootGroupis empty, and- intendedForQualificationis set to true, all the qualification tests are included, and the configuration is default.- For a qualification suite, the minimum length is 0, and the maximum is 2048. For a non-qualification suite, the minimum length is 1, and the maximum is 2048. 
- devices
List<SuiteDefinition Device Under Test> 
- Gets the devices configured.
- intendedFor BooleanQualification 
- Gets the tests intended for qualification in a suite.
- suiteDefinition StringName 
- Gets the suite definition name. This is a required parameter.
- devicePermission stringRole Arn 
- Gets the device permission ARN. This is a required parameter.
- rootGroup string
- Gets the test suite root group. This is a required parameter. For updating or creating the latest qualification suite, if - intendedForQualificationis set to true,- rootGroupcan be an empty string. If- intendedForQualificationis false,- rootGroupcannot be an empty string. If- rootGroupis empty, and- intendedForQualificationis set to true, all the qualification tests are included, and the configuration is default.- For a qualification suite, the minimum length is 0, and the maximum is 2048. For a non-qualification suite, the minimum length is 1, and the maximum is 2048. 
- devices
SuiteDefinition Device Under Test[] 
- Gets the devices configured.
- intendedFor booleanQualification 
- Gets the tests intended for qualification in a suite.
- suiteDefinition stringName 
- Gets the suite definition name. This is a required parameter.
- device_permission_ strrole_ arn 
- Gets the device permission ARN. This is a required parameter.
- root_group str
- Gets the test suite root group. This is a required parameter. For updating or creating the latest qualification suite, if - intendedForQualificationis set to true,- rootGroupcan be an empty string. If- intendedForQualificationis false,- rootGroupcannot be an empty string. If- rootGroupis empty, and- intendedForQualificationis set to true, all the qualification tests are included, and the configuration is default.- For a qualification suite, the minimum length is 0, and the maximum is 2048. For a non-qualification suite, the minimum length is 1, and the maximum is 2048. 
- devices
Sequence[SuiteDefinition Device Under Test] 
- Gets the devices configured.
- intended_for_ boolqualification 
- Gets the tests intended for qualification in a suite.
- suite_definition_ strname 
- Gets the suite definition name. This is a required parameter.
- devicePermission StringRole Arn 
- Gets the device permission ARN. This is a required parameter.
- rootGroup String
- Gets the test suite root group. This is a required parameter. For updating or creating the latest qualification suite, if - intendedForQualificationis set to true,- rootGroupcan be an empty string. If- intendedForQualificationis false,- rootGroupcannot be an empty string. If- rootGroupis empty, and- intendedForQualificationis set to true, all the qualification tests are included, and the configuration is default.- For a qualification suite, the minimum length is 0, and the maximum is 2048. For a non-qualification suite, the minimum length is 1, and the maximum is 2048. 
- devices List<Property Map>
- Gets the devices configured.
- intendedFor BooleanQualification 
- Gets the tests intended for qualification in a suite.
- suiteDefinition StringName 
- Gets the suite definition name. This is a required parameter.
SuiteDefinitionDeviceUnderTest, SuiteDefinitionDeviceUnderTestArgs          
- CertificateArn string
- ThingArn string
- CertificateArn string
- ThingArn string
- certificateArn String
- thingArn String
- certificateArn string
- thingArn string
- certificate_arn str
- thing_arn str
- certificateArn String
- thingArn String
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.