@Stability(value=Stable) public static final class CfnResourceDefinition.Builder extends Object implements software.amazon.jsii.Builder<CfnResourceDefinition>
CfnResourceDefinition.| Modifier and Type | Method and Description |
|---|---|
CfnResourceDefinition |
build() |
static CfnResourceDefinition.Builder |
create(Construct scope,
String id) |
CfnResourceDefinition.Builder |
initialVersion(CfnResourceDefinition.ResourceDefinitionVersionProperty initialVersion)
The resource definition version to include when the resource definition is created.
|
CfnResourceDefinition.Builder |
initialVersion(IResolvable initialVersion)
The resource definition version to include when the resource definition is created.
|
CfnResourceDefinition.Builder |
name(String name)
The name of the resource definition.
|
CfnResourceDefinition.Builder |
tags(Object tags)
Application-specific metadata to attach to the resource definition.
|
@Stability(value=Stable) public static CfnResourceDefinition.Builder create(Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnResourceDefinition.GroupOwnerSettingProperty.Builder.@Stability(value=Stable) public CfnResourceDefinition.Builder name(String name)
name - The name of the resource definition. This parameter is required.this@Stability(value=Stable) public CfnResourceDefinition.Builder initialVersion(IResolvable initialVersion)
A resource definition version contains a list of resource instance property types.
To associate a resource definition version after the resource definition is created, create an
AWS::Greengrass::ResourceDefinitionVersionresource and specify the ID of this resource definition.
initialVersion - The resource definition version to include when the resource definition is created. This parameter is required.this@Stability(value=Stable) public CfnResourceDefinition.Builder initialVersion(CfnResourceDefinition.ResourceDefinitionVersionProperty initialVersion)
A resource definition version contains a list of resource instance property types.
To associate a resource definition version after the resource definition is created, create an
AWS::Greengrass::ResourceDefinitionVersionresource and specify the ID of this resource definition.
initialVersion - The resource definition version to include when the resource definition is created. This parameter is required.this@Stability(value=Stable) public CfnResourceDefinition.Builder tags(Object tags)
You can use tags in IAM policies to control access to AWS IoT Greengrass resources. You can also use tags to categorize your resources. For more information, see Tagging Your AWS IoT Greengrass Resources in the Developer Guide .
This Json property type is processed as a map of key-value pairs. It uses the following format, which is different from most Tags implementations in AWS CloudFormation templates.
"Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value"
}
tags - Application-specific metadata to attach to the resource definition. This parameter is required.this@Stability(value=Stable) public CfnResourceDefinition build()
build in interface software.amazon.jsii.Builder<CfnResourceDefinition>Copyright © 2022. All rights reserved.