Interface CfnResourceDefinitionMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResourceDefinitionMixinProps.Jsii$Proxy
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.greengrass.*;
Object tags;
CfnResourceDefinitionMixinProps cfnResourceDefinitionMixinProps = CfnResourceDefinitionMixinProps.builder()
.initialVersion(ResourceDefinitionVersionProperty.builder()
.resources(List.of(ResourceInstanceProperty.builder()
.id("id")
.name("name")
.resourceDataContainer(ResourceDataContainerProperty.builder()
.localDeviceResourceData(LocalDeviceResourceDataProperty.builder()
.groupOwnerSetting(GroupOwnerSettingProperty.builder()
.autoAddGroupOwner(false)
.groupOwner("groupOwner")
.build())
.sourcePath("sourcePath")
.build())
.localVolumeResourceData(LocalVolumeResourceDataProperty.builder()
.destinationPath("destinationPath")
.groupOwnerSetting(GroupOwnerSettingProperty.builder()
.autoAddGroupOwner(false)
.groupOwner("groupOwner")
.build())
.sourcePath("sourcePath")
.build())
.s3MachineLearningModelResourceData(S3MachineLearningModelResourceDataProperty.builder()
.destinationPath("destinationPath")
.ownerSetting(ResourceDownloadOwnerSettingProperty.builder()
.groupOwner("groupOwner")
.groupPermission("groupPermission")
.build())
.s3Uri("s3Uri")
.build())
.sageMakerMachineLearningModelResourceData(SageMakerMachineLearningModelResourceDataProperty.builder()
.destinationPath("destinationPath")
.ownerSetting(ResourceDownloadOwnerSettingProperty.builder()
.groupOwner("groupOwner")
.groupPermission("groupPermission")
.build())
.sageMakerJobArn("sageMakerJobArn")
.build())
.secretsManagerSecretResourceData(SecretsManagerSecretResourceDataProperty.builder()
.additionalStagingLabelsToDownload(List.of("additionalStagingLabelsToDownload"))
.arn("arn")
.build())
.build())
.build()))
.build())
.name("name")
.tags(tags)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnResourceDefinitionMixinPropsstatic final classAn implementation forCfnResourceDefinitionMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectThe resource definition version to include when the resource definition is created.default StringgetName()The name of the resource definition.default ObjectgetTags()Application-specific metadata to attach to the resource definition.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getInitialVersion
The resource definition version to include when the resource definition is created.A resource definition version contains a list of
resource instanceproperty 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.Returns union: either
IResolvableorCfnResourceDefinitionPropsMixin.ResourceDefinitionVersionProperty- See Also:
-
getName
The name of the resource definition.- See Also:
-
getTags
Application-specific metadata to attach to the resource definition.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
Jsonproperty type is processed as a map of key-value pairs. It uses the following format, which is different from mostTagsimplementations in CloudFormation templates."Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value" }- See Also:
-
builder
-