interface CfnResourceDefinitionMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.Greengrass.Mixins.CfnResourceDefinitionMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsgreengrass/mixins#CfnResourceDefinitionMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.greengrass.mixins.CfnResourceDefinitionMixinProps |
Python | aws_cdk.mixins_preview.aws_greengrass.mixins.CfnResourceDefinitionMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_greengrass » mixins » CfnResourceDefinitionMixinProps |
Properties for CfnResourceDefinitionPropsMixin.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as greengrass_mixins } from '@aws-cdk/mixins-preview/aws-greengrass';
declare const tags: any;
const cfnResourceDefinitionMixinProps: greengrass_mixins.CfnResourceDefinitionMixinProps = {
initialVersion: {
resources: [{
id: 'id',
name: 'name',
resourceDataContainer: {
localDeviceResourceData: {
groupOwnerSetting: {
autoAddGroupOwner: false,
groupOwner: 'groupOwner',
},
sourcePath: 'sourcePath',
},
localVolumeResourceData: {
destinationPath: 'destinationPath',
groupOwnerSetting: {
autoAddGroupOwner: false,
groupOwner: 'groupOwner',
},
sourcePath: 'sourcePath',
},
s3MachineLearningModelResourceData: {
destinationPath: 'destinationPath',
ownerSetting: {
groupOwner: 'groupOwner',
groupPermission: 'groupPermission',
},
s3Uri: 's3Uri',
},
sageMakerMachineLearningModelResourceData: {
destinationPath: 'destinationPath',
ownerSetting: {
groupOwner: 'groupOwner',
groupPermission: 'groupPermission',
},
sageMakerJobArn: 'sageMakerJobArn',
},
secretsManagerSecretResourceData: {
additionalStagingLabelsToDownload: ['additionalStagingLabelsToDownload'],
arn: 'arn',
},
},
}],
},
name: 'name',
tags: tags,
};
Properties
| Name | Type | Description |
|---|---|---|
| initial | IResolvable | Resource | The resource definition version to include when the resource definition is created. |
| name? | string | The name of the resource definition. |
| tags? | any | Application-specific metadata to attach to the resource definition. |
initialVersion?
Type:
IResolvable | Resource
(optional)
The resource definition version to include when the resource definition is created.
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.
name?
Type:
string
(optional)
The name of the resource definition.
tags?
Type:
any
(optional)
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 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 CloudFormation templates.
"Tags": { "KeyName0": "value", "KeyName1": "value", "KeyName2": "value"
}

.NET
Go
Java
Python
TypeScript