@pulumi/aws-native 0.98.1-alpha.1709719508 → 0.98.1-alpha.1709908029
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/apigateway/authorizer.d.ts +2 -2
- package/apigateway/getAuthorizer.d.ts +1 -1
- package/b2bi/transformer.d.ts +1 -2
- package/b2bi/transformer.js +1 -1
- package/b2bi/transformer.js.map +1 -1
- package/batch/getJobDefinition.d.ts +1 -0
- package/batch/getJobDefinition.js.map +1 -1
- package/batch/jobDefinition.d.ts +2 -0
- package/batch/jobDefinition.js +2 -0
- package/batch/jobDefinition.js.map +1 -1
- package/configuration/configRule.d.ts +6 -1
- package/configuration/configRule.js +6 -1
- package/configuration/configRule.js.map +1 -1
- package/configuration/getConfigRule.d.ts +12 -2
- package/configuration/getConfigRule.js +12 -2
- package/configuration/getConfigRule.js.map +1 -1
- package/iam/getRolePolicy.d.ts +4 -2
- package/iam/getRolePolicy.js +4 -2
- package/iam/getRolePolicy.js.map +1 -1
- package/iam/rolePolicy.d.ts +2 -1
- package/iam/rolePolicy.js +2 -1
- package/iam/rolePolicy.js.map +1 -1
- package/iotsitewise/asset.d.ts +8 -0
- package/iotsitewise/asset.js +2 -0
- package/iotsitewise/asset.js.map +1 -1
- package/iotsitewise/assetModel.d.ts +16 -0
- package/iotsitewise/assetModel.js +6 -0
- package/iotsitewise/assetModel.js.map +1 -1
- package/iotsitewise/getAsset.d.ts +4 -0
- package/iotsitewise/getAsset.js.map +1 -1
- package/iotsitewise/getAssetModel.d.ts +4 -0
- package/iotsitewise/getAssetModel.js.map +1 -1
- package/lambda/function.d.ts +4 -1
- package/lambda/function.js +4 -1
- package/lambda/function.js.map +1 -1
- package/lambda/getFunction.d.ts +8 -2
- package/lambda/getFunction.js +8 -2
- package/lambda/getFunction.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/rds/dbCluster.d.ts +4 -0
- package/rds/dbCluster.js +2 -0
- package/rds/dbCluster.js.map +1 -1
- package/rds/dbInstance.d.ts +6 -4
- package/rds/dbInstance.js.map +1 -1
- package/rds/getDbCluster.d.ts +4 -0
- package/rds/getDbCluster.js.map +1 -1
- package/rds/getDbInstance.d.ts +3 -2
- package/rds/getDbInstance.js.map +1 -1
- package/rds/getIntegration.d.ts +2 -2
- package/rds/getIntegration.js +2 -2
- package/rds/integration.d.ts +1 -1
- package/rds/integration.js +1 -1
- package/route53/getHostedZone.d.ts +49 -5
- package/route53/getHostedZone.js +32 -2
- package/route53/getHostedZone.js.map +1 -1
- package/route53/hostedZone.d.ts +54 -13
- package/route53/hostedZone.js +16 -1
- package/route53/hostedZone.js.map +1 -1
- package/secretsmanager/getSecret.d.ts +13 -3
- package/secretsmanager/getSecret.js +4 -2
- package/secretsmanager/getSecret.js.map +1 -1
- package/secretsmanager/secret.d.ts +20 -3
- package/secretsmanager/secret.js +2 -1
- package/secretsmanager/secret.js.map +1 -1
- package/sns/getTopic.d.ts +24 -23
- package/sns/getTopic.js +6 -2
- package/sns/getTopic.js.map +1 -1
- package/sns/getTopicPolicy.d.ts +3 -12
- package/sns/getTopicPolicy.js +2 -2
- package/sns/getTopicPolicy.js.map +1 -1
- package/sns/topic.d.ts +45 -49
- package/sns/topic.js +3 -1
- package/sns/topic.js.map +1 -1
- package/sns/topicPolicy.d.ts +3 -6
- package/sns/topicPolicy.js +1 -1
- package/sns/topicPolicy.js.map +1 -1
- package/sqs/getQueue.d.ts +52 -28
- package/sqs/getQueue.js +14 -2
- package/sqs/getQueue.js.map +1 -1
- package/sqs/queue.d.ts +91 -39
- package/sqs/queue.js +7 -1
- package/sqs/queue.js.map +1 -1
- package/ssm/parameter.d.ts +2 -2
- package/types/enums/lambda/index.d.ts +3 -1
- package/types/enums/lambda/index.js.map +1 -1
- package/types/enums/sns/index.d.ts +0 -3
- package/types/enums/wafv2/index.d.ts +10 -0
- package/types/enums/wafv2/index.js +9 -1
- package/types/enums/wafv2/index.js.map +1 -1
- package/types/input.d.ts +177 -32
- package/types/output.d.ts +177 -32
|
@@ -35,7 +35,7 @@ export declare class Authorizer extends pulumi.CustomResource {
|
|
|
35
35
|
*/
|
|
36
36
|
readonly authorizerUri: pulumi.Output<string | undefined>;
|
|
37
37
|
/**
|
|
38
|
-
* The identity source for which authorization is requested. For a ``TOKEN`` or ``COGNITO_USER_POOLS`` authorizer, this is required and specifies the request header mapping expression for the custom header holding the authorization token submitted by the client. For example, if the token header name is ``Auth``, the header mapping expression is ``method.request.header.Auth``. For the ``REQUEST`` authorizer, this is required when authorization caching is enabled. The value is a comma-separated string of one or more mapping expressions of the specified request parameters. For example, if an ``Auth`` header, a ``Name`` query string parameter are defined as identity sources, this value is ``method.request.header.Auth, method.request.querystring.Name``. These parameters will be used to derive the authorization caching key and to perform runtime validation of the ``REQUEST`` authorizer by verifying all of the identity-related request parameters are present, not null and non-empty. Only when
|
|
38
|
+
* The identity source for which authorization is requested. For a ``TOKEN`` or ``COGNITO_USER_POOLS`` authorizer, this is required and specifies the request header mapping expression for the custom header holding the authorization token submitted by the client. For example, if the token header name is ``Auth``, the header mapping expression is ``method.request.header.Auth``. For the ``REQUEST`` authorizer, this is required when authorization caching is enabled. The value is a comma-separated string of one or more mapping expressions of the specified request parameters. For example, if an ``Auth`` header, a ``Name`` query string parameter are defined as identity sources, this value is ``method.request.header.Auth, method.request.querystring.Name``. These parameters will be used to derive the authorization caching key and to perform runtime validation of the ``REQUEST`` authorizer by verifying all of the identity-related request parameters are present, not null and non-empty. Only when thi
|
|
39
39
|
*/
|
|
40
40
|
readonly identitySource: pulumi.Output<string | undefined>;
|
|
41
41
|
/**
|
|
@@ -88,7 +88,7 @@ export interface AuthorizerArgs {
|
|
|
88
88
|
*/
|
|
89
89
|
authorizerUri?: pulumi.Input<string>;
|
|
90
90
|
/**
|
|
91
|
-
* The identity source for which authorization is requested. For a ``TOKEN`` or ``COGNITO_USER_POOLS`` authorizer, this is required and specifies the request header mapping expression for the custom header holding the authorization token submitted by the client. For example, if the token header name is ``Auth``, the header mapping expression is ``method.request.header.Auth``. For the ``REQUEST`` authorizer, this is required when authorization caching is enabled. The value is a comma-separated string of one or more mapping expressions of the specified request parameters. For example, if an ``Auth`` header, a ``Name`` query string parameter are defined as identity sources, this value is ``method.request.header.Auth, method.request.querystring.Name``. These parameters will be used to derive the authorization caching key and to perform runtime validation of the ``REQUEST`` authorizer by verifying all of the identity-related request parameters are present, not null and non-empty. Only when
|
|
91
|
+
* The identity source for which authorization is requested. For a ``TOKEN`` or ``COGNITO_USER_POOLS`` authorizer, this is required and specifies the request header mapping expression for the custom header holding the authorization token submitted by the client. For example, if the token header name is ``Auth``, the header mapping expression is ``method.request.header.Auth``. For the ``REQUEST`` authorizer, this is required when authorization caching is enabled. The value is a comma-separated string of one or more mapping expressions of the specified request parameters. For example, if an ``Auth`` header, a ``Name`` query string parameter are defined as identity sources, this value is ``method.request.header.Auth, method.request.querystring.Name``. These parameters will be used to derive the authorization caching key and to perform runtime validation of the ``REQUEST`` authorizer by verifying all of the identity-related request parameters are present, not null and non-empty. Only when thi
|
|
92
92
|
*/
|
|
93
93
|
identitySource?: pulumi.Input<string>;
|
|
94
94
|
/**
|
|
@@ -29,7 +29,7 @@ export interface GetAuthorizerResult {
|
|
|
29
29
|
*/
|
|
30
30
|
readonly authorizerUri?: string;
|
|
31
31
|
/**
|
|
32
|
-
* The identity source for which authorization is requested. For a ``TOKEN`` or ``COGNITO_USER_POOLS`` authorizer, this is required and specifies the request header mapping expression for the custom header holding the authorization token submitted by the client. For example, if the token header name is ``Auth``, the header mapping expression is ``method.request.header.Auth``. For the ``REQUEST`` authorizer, this is required when authorization caching is enabled. The value is a comma-separated string of one or more mapping expressions of the specified request parameters. For example, if an ``Auth`` header, a ``Name`` query string parameter are defined as identity sources, this value is ``method.request.header.Auth, method.request.querystring.Name``. These parameters will be used to derive the authorization caching key and to perform runtime validation of the ``REQUEST`` authorizer by verifying all of the identity-related request parameters are present, not null and non-empty. Only when
|
|
32
|
+
* The identity source for which authorization is requested. For a ``TOKEN`` or ``COGNITO_USER_POOLS`` authorizer, this is required and specifies the request header mapping expression for the custom header holding the authorization token submitted by the client. For example, if the token header name is ``Auth``, the header mapping expression is ``method.request.header.Auth``. For the ``REQUEST`` authorizer, this is required when authorization caching is enabled. The value is a comma-separated string of one or more mapping expressions of the specified request parameters. For example, if an ``Auth`` header, a ``Name`` query string parameter are defined as identity sources, this value is ``method.request.header.Auth, method.request.querystring.Name``. These parameters will be used to derive the authorization caching key and to perform runtime validation of the ``REQUEST`` authorizer by verifying all of the identity-related request parameters are present, not null and non-empty. Only when thi
|
|
33
33
|
*/
|
|
34
34
|
readonly identitySource?: string;
|
|
35
35
|
/**
|
package/b2bi/transformer.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export declare class Transformer extends pulumi.CustomResource {
|
|
|
24
24
|
readonly ediType: pulumi.Output<outputs.b2bi.TransformerEdiTypeProperties>;
|
|
25
25
|
readonly fileFormat: pulumi.Output<enums.b2bi.TransformerFileFormat>;
|
|
26
26
|
readonly mappingTemplate: pulumi.Output<string>;
|
|
27
|
-
readonly modifiedAt: pulumi.Output<string
|
|
27
|
+
readonly modifiedAt: pulumi.Output<string>;
|
|
28
28
|
readonly name: pulumi.Output<string>;
|
|
29
29
|
readonly sampleDocument: pulumi.Output<string | undefined>;
|
|
30
30
|
readonly status: pulumi.Output<enums.b2bi.TransformerStatus>;
|
|
@@ -47,7 +47,6 @@ export interface TransformerArgs {
|
|
|
47
47
|
ediType: pulumi.Input<inputs.b2bi.TransformerEdiTypePropertiesArgs>;
|
|
48
48
|
fileFormat: pulumi.Input<enums.b2bi.TransformerFileFormat>;
|
|
49
49
|
mappingTemplate: pulumi.Input<string>;
|
|
50
|
-
modifiedAt?: pulumi.Input<string>;
|
|
51
50
|
name?: pulumi.Input<string>;
|
|
52
51
|
sampleDocument?: pulumi.Input<string>;
|
|
53
52
|
status: pulumi.Input<enums.b2bi.TransformerStatus>;
|
package/b2bi/transformer.js
CHANGED
|
@@ -56,12 +56,12 @@ class Transformer extends pulumi.CustomResource {
|
|
|
56
56
|
resourceInputs["ediType"] = args ? args.ediType : undefined;
|
|
57
57
|
resourceInputs["fileFormat"] = args ? args.fileFormat : undefined;
|
|
58
58
|
resourceInputs["mappingTemplate"] = args ? args.mappingTemplate : undefined;
|
|
59
|
-
resourceInputs["modifiedAt"] = args ? args.modifiedAt : undefined;
|
|
60
59
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
61
60
|
resourceInputs["sampleDocument"] = args ? args.sampleDocument : undefined;
|
|
62
61
|
resourceInputs["status"] = args ? args.status : undefined;
|
|
63
62
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
64
63
|
resourceInputs["createdAt"] = undefined /*out*/;
|
|
64
|
+
resourceInputs["modifiedAt"] = undefined /*out*/;
|
|
65
65
|
resourceInputs["transformerArn"] = undefined /*out*/;
|
|
66
66
|
resourceInputs["transformerId"] = undefined /*out*/;
|
|
67
67
|
}
|
package/b2bi/transformer.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transformer.js","sourceRoot":"","sources":["../../b2bi/transformer.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,WAAW,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,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cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAxFL,kCAyFC;AA5EG,gBAAgB;AACO,wBAAY,GAAG,6BAA6B,CAAC"}
|
|
@@ -9,6 +9,7 @@ export interface GetJobDefinitionArgs {
|
|
|
9
9
|
}
|
|
10
10
|
export interface GetJobDefinitionResult {
|
|
11
11
|
readonly containerProperties?: outputs.batch.JobDefinitionContainerProperties;
|
|
12
|
+
readonly ecsProperties?: outputs.batch.JobDefinitionEcsProperties;
|
|
12
13
|
readonly eksProperties?: outputs.batch.JobDefinitionEksProperties;
|
|
13
14
|
readonly id?: string;
|
|
14
15
|
readonly nodeProperties?: outputs.batch.JobDefinitionNodeProperties;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getJobDefinition.js","sourceRoot":"","sources":["../../batch/getJobDefinition.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IAEpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC;
|
|
1
|
+
{"version":3,"file":"getJobDefinition.js","sourceRoot":"","sources":["../../batch/getJobDefinition.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IAEpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC;AAuBD;;GAEG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
|
package/batch/jobDefinition.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export declare class JobDefinition extends pulumi.CustomResource {
|
|
|
21
21
|
static isInstance(obj: any): obj is JobDefinition;
|
|
22
22
|
readonly awsId: pulumi.Output<string>;
|
|
23
23
|
readonly containerProperties: pulumi.Output<outputs.batch.JobDefinitionContainerProperties | undefined>;
|
|
24
|
+
readonly ecsProperties: pulumi.Output<outputs.batch.JobDefinitionEcsProperties | undefined>;
|
|
24
25
|
readonly eksProperties: pulumi.Output<outputs.batch.JobDefinitionEksProperties | undefined>;
|
|
25
26
|
readonly jobDefinitionName: pulumi.Output<string | undefined>;
|
|
26
27
|
readonly nodeProperties: pulumi.Output<outputs.batch.JobDefinitionNodeProperties | undefined>;
|
|
@@ -52,6 +53,7 @@ export declare class JobDefinition extends pulumi.CustomResource {
|
|
|
52
53
|
*/
|
|
53
54
|
export interface JobDefinitionArgs {
|
|
54
55
|
containerProperties?: pulumi.Input<inputs.batch.JobDefinitionContainerPropertiesArgs>;
|
|
56
|
+
ecsProperties?: pulumi.Input<inputs.batch.JobDefinitionEcsPropertiesArgs>;
|
|
55
57
|
eksProperties?: pulumi.Input<inputs.batch.JobDefinitionEksPropertiesArgs>;
|
|
56
58
|
jobDefinitionName?: pulumi.Input<string>;
|
|
57
59
|
nodeProperties?: pulumi.Input<inputs.batch.JobDefinitionNodePropertiesArgs>;
|
package/batch/jobDefinition.js
CHANGED
|
@@ -45,6 +45,7 @@ class JobDefinition extends pulumi.CustomResource {
|
|
|
45
45
|
throw new Error("Missing required property 'type'");
|
|
46
46
|
}
|
|
47
47
|
resourceInputs["containerProperties"] = args ? args.containerProperties : undefined;
|
|
48
|
+
resourceInputs["ecsProperties"] = args ? args.ecsProperties : undefined;
|
|
48
49
|
resourceInputs["eksProperties"] = args ? args.eksProperties : undefined;
|
|
49
50
|
resourceInputs["jobDefinitionName"] = args ? args.jobDefinitionName : undefined;
|
|
50
51
|
resourceInputs["nodeProperties"] = args ? args.nodeProperties : undefined;
|
|
@@ -61,6 +62,7 @@ class JobDefinition extends pulumi.CustomResource {
|
|
|
61
62
|
else {
|
|
62
63
|
resourceInputs["awsId"] = undefined /*out*/;
|
|
63
64
|
resourceInputs["containerProperties"] = undefined /*out*/;
|
|
65
|
+
resourceInputs["ecsProperties"] = undefined /*out*/;
|
|
64
66
|
resourceInputs["eksProperties"] = undefined /*out*/;
|
|
65
67
|
resourceInputs["jobDefinitionName"] = undefined /*out*/;
|
|
66
68
|
resourceInputs["nodeProperties"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jobDefinition.js","sourceRoot":"","sources":["../../batch/jobDefinition.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,aAAa,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;
|
|
1
|
+
{"version":3,"file":"jobDefinition.js","sourceRoot":"","sources":["../../batch/jobDefinition.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC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GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3D,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,gBAAgB,GAAG,EAAE,gBAAgB,EAAE,CAAC,mBAAmB,EAAE,MAAM,CAAC,EAAE,CAAC;QAC7E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAhGL,sCAiGC;AApFG,gBAAgB;AACO,0BAAY,GAAG,gCAAgC,CAAC"}
|
|
@@ -5,7 +5,12 @@ import * as outputs from "../types/output";
|
|
|
5
5
|
* You must first create and start the CC configuration recorder in order to create CC managed rules with CFNlong. For more information, see [Managing the Configuration Recorder](https://docs.aws.amazon.com/config/latest/developerguide/stop-start-recorder.html).
|
|
6
6
|
* Adds or updates an CC rule to evaluate if your AWS resources comply with your desired configurations. For information on how many CC rules you can have per account, see [Service Limits](https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html) in the *Developer Guide*.
|
|
7
7
|
* There are two types of rules: *Managed Rules* and *Custom Rules*. You can use the ``ConfigRule`` resource to create both CC Managed Rules and CC Custom Rules.
|
|
8
|
-
* CC Managed Rules are predefined, customizable rules created by CC. For a list of managed rules, see [List of Managed Rules](https://docs.aws.amazon.com/config/latest/developerguide/managed-rules-by-aws-config.html). If you are adding an CC managed rule, you must specify the rule's
|
|
8
|
+
* CC Managed Rules are predefined, customizable rules created by CC. For a list of managed rules, see [List of Managed Rules](https://docs.aws.amazon.com/config/latest/developerguide/managed-rules-by-aws-config.html). If you are adding an CC managed rule, you must specify the rule's identifier for the ``SourceIdentifier`` key.
|
|
9
|
+
* CC Custom Rules are rules that you create from scratch. There are two ways to create CC custom rules: with Lambda functions ([Developer Guide](https://docs.aws.amazon.com/config/latest/developerguide/gettingstarted-concepts.html#gettingstarted-concepts-function)) and with CFNGUARDshort ([Guard GitHub Repository](https://docs.aws.amazon.com/https://github.com/aws-cloudformation/cloudformation-guard)), a policy-as-code language. CC custom rules created with LAMlong are called *Custom Lambda Rules* and CC custom rules created with CFNGUARDshort are called *Custom Policy Rules*.
|
|
10
|
+
* If you are adding a new CC Custom LAM rule, you first need to create an LAMlong function that the rule invokes to evaluate your resources. When you use the ``ConfigRule`` resource to add a Custom LAM rule to CC, you must specify the Amazon Resource Name (ARN) that LAMlong assigns to the function. You specify the ARN in the ``SourceIdentifier`` key. This key is part of the ``Source`` object, which is part of the ``ConfigRule`` object.
|
|
11
|
+
* For any new CC rule that you add, specify the ``ConfigRuleName`` in the ``ConfigRule`` object. Do not specify the ``ConfigRuleArn`` or the ``ConfigRuleId``. These values are generated by CC for new rules.
|
|
12
|
+
* If you are updating a rule that you added previously, you can specify the rule by ``ConfigRuleName``, ``ConfigRuleId``, or ``ConfigRuleArn`` in the ``ConfigRule`` data type that you use in this request.
|
|
13
|
+
* For more information about developing and using CC rules, see [Evaluating Resources with Rules](https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config.html) in the *Developer Guide*.
|
|
9
14
|
*/
|
|
10
15
|
export declare class ConfigRule extends pulumi.CustomResource {
|
|
11
16
|
/**
|
|
@@ -9,7 +9,12 @@ const utilities = require("../utilities");
|
|
|
9
9
|
* You must first create and start the CC configuration recorder in order to create CC managed rules with CFNlong. For more information, see [Managing the Configuration Recorder](https://docs.aws.amazon.com/config/latest/developerguide/stop-start-recorder.html).
|
|
10
10
|
* Adds or updates an CC rule to evaluate if your AWS resources comply with your desired configurations. For information on how many CC rules you can have per account, see [Service Limits](https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html) in the *Developer Guide*.
|
|
11
11
|
* There are two types of rules: *Managed Rules* and *Custom Rules*. You can use the ``ConfigRule`` resource to create both CC Managed Rules and CC Custom Rules.
|
|
12
|
-
* CC Managed Rules are predefined, customizable rules created by CC. For a list of managed rules, see [List of Managed Rules](https://docs.aws.amazon.com/config/latest/developerguide/managed-rules-by-aws-config.html). If you are adding an CC managed rule, you must specify the rule's
|
|
12
|
+
* CC Managed Rules are predefined, customizable rules created by CC. For a list of managed rules, see [List of Managed Rules](https://docs.aws.amazon.com/config/latest/developerguide/managed-rules-by-aws-config.html). If you are adding an CC managed rule, you must specify the rule's identifier for the ``SourceIdentifier`` key.
|
|
13
|
+
* CC Custom Rules are rules that you create from scratch. There are two ways to create CC custom rules: with Lambda functions ([Developer Guide](https://docs.aws.amazon.com/config/latest/developerguide/gettingstarted-concepts.html#gettingstarted-concepts-function)) and with CFNGUARDshort ([Guard GitHub Repository](https://docs.aws.amazon.com/https://github.com/aws-cloudformation/cloudformation-guard)), a policy-as-code language. CC custom rules created with LAMlong are called *Custom Lambda Rules* and CC custom rules created with CFNGUARDshort are called *Custom Policy Rules*.
|
|
14
|
+
* If you are adding a new CC Custom LAM rule, you first need to create an LAMlong function that the rule invokes to evaluate your resources. When you use the ``ConfigRule`` resource to add a Custom LAM rule to CC, you must specify the Amazon Resource Name (ARN) that LAMlong assigns to the function. You specify the ARN in the ``SourceIdentifier`` key. This key is part of the ``Source`` object, which is part of the ``ConfigRule`` object.
|
|
15
|
+
* For any new CC rule that you add, specify the ``ConfigRuleName`` in the ``ConfigRule`` object. Do not specify the ``ConfigRuleArn`` or the ``ConfigRuleId``. These values are generated by CC for new rules.
|
|
16
|
+
* If you are updating a rule that you added previously, you can specify the rule by ``ConfigRuleName``, ``ConfigRuleId``, or ``ConfigRuleArn`` in the ``ConfigRule`` data type that you use in this request.
|
|
17
|
+
* For more information about developing and using CC rules, see [Evaluating Resources with Rules](https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config.html) in the *Developer Guide*.
|
|
13
18
|
*/
|
|
14
19
|
class ConfigRule extends pulumi.CustomResource {
|
|
15
20
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configRule.js","sourceRoot":"","sources":["../../configuration/configRule.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"configRule.js","sourceRoot":"","sources":["../../configuration/configRule.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;GAUG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,UAAU,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,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import * as outputs from "../types/output";
|
|
|
4
4
|
* You must first create and start the CC configuration recorder in order to create CC managed rules with CFNlong. For more information, see [Managing the Configuration Recorder](https://docs.aws.amazon.com/config/latest/developerguide/stop-start-recorder.html).
|
|
5
5
|
* Adds or updates an CC rule to evaluate if your AWS resources comply with your desired configurations. For information on how many CC rules you can have per account, see [Service Limits](https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html) in the *Developer Guide*.
|
|
6
6
|
* There are two types of rules: *Managed Rules* and *Custom Rules*. You can use the ``ConfigRule`` resource to create both CC Managed Rules and CC Custom Rules.
|
|
7
|
-
* CC Managed Rules are predefined, customizable rules created by CC. For a list of managed rules, see [List of Managed Rules](https://docs.aws.amazon.com/config/latest/developerguide/managed-rules-by-aws-config.html). If you are adding an CC managed rule, you must specify the rule's
|
|
7
|
+
* CC Managed Rules are predefined, customizable rules created by CC. For a list of managed rules, see [List of Managed Rules](https://docs.aws.amazon.com/config/latest/developerguide/managed-rules-by-aws-config.html). If you are adding an CC managed rule, you must specify the rule's identifier for the ``SourceIdentifier`` key.
|
|
8
|
+
* CC Custom Rules are rules that you create from scratch. There are two ways to create CC custom rules: with Lambda functions ([Developer Guide](https://docs.aws.amazon.com/config/latest/developerguide/gettingstarted-concepts.html#gettingstarted-concepts-function)) and with CFNGUARDshort ([Guard GitHub Repository](https://docs.aws.amazon.com/https://github.com/aws-cloudformation/cloudformation-guard)), a policy-as-code language. CC custom rules created with LAMlong are called *Custom Lambda Rules* and CC custom rules created with CFNGUARDshort are called *Custom Policy Rules*.
|
|
9
|
+
* If you are adding a new CC Custom LAM rule, you first need to create an LAMlong function that the rule invokes to evaluate your resources. When you use the ``ConfigRule`` resource to add a Custom LAM rule to CC, you must specify the Amazon Resource Name (ARN) that LAMlong assigns to the function. You specify the ARN in the ``SourceIdentifier`` key. This key is part of the ``Source`` object, which is part of the ``ConfigRule`` object.
|
|
10
|
+
* For any new CC rule that you add, specify the ``ConfigRuleName`` in the ``ConfigRule`` object. Do not specify the ``ConfigRuleArn`` or the ``ConfigRuleId``. These values are generated by CC for new rules.
|
|
11
|
+
* If you are updating a rule that you added previously, you can specify the rule by ``ConfigRuleName``, ``ConfigRuleId``, or ``ConfigRuleArn`` in the ``ConfigRule`` data type that you use in this request.
|
|
12
|
+
* For more information about developing and using CC rules, see [Evaluating Resources with Rules](https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config.html) in the *Developer Guide*.
|
|
8
13
|
*/
|
|
9
14
|
export declare function getConfigRule(args: GetConfigRuleArgs, opts?: pulumi.InvokeOptions): Promise<GetConfigRuleResult>;
|
|
10
15
|
export interface GetConfigRuleArgs {
|
|
@@ -56,7 +61,12 @@ export interface GetConfigRuleResult {
|
|
|
56
61
|
* You must first create and start the CC configuration recorder in order to create CC managed rules with CFNlong. For more information, see [Managing the Configuration Recorder](https://docs.aws.amazon.com/config/latest/developerguide/stop-start-recorder.html).
|
|
57
62
|
* Adds or updates an CC rule to evaluate if your AWS resources comply with your desired configurations. For information on how many CC rules you can have per account, see [Service Limits](https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html) in the *Developer Guide*.
|
|
58
63
|
* There are two types of rules: *Managed Rules* and *Custom Rules*. You can use the ``ConfigRule`` resource to create both CC Managed Rules and CC Custom Rules.
|
|
59
|
-
* CC Managed Rules are predefined, customizable rules created by CC. For a list of managed rules, see [List of Managed Rules](https://docs.aws.amazon.com/config/latest/developerguide/managed-rules-by-aws-config.html). If you are adding an CC managed rule, you must specify the rule's
|
|
64
|
+
* CC Managed Rules are predefined, customizable rules created by CC. For a list of managed rules, see [List of Managed Rules](https://docs.aws.amazon.com/config/latest/developerguide/managed-rules-by-aws-config.html). If you are adding an CC managed rule, you must specify the rule's identifier for the ``SourceIdentifier`` key.
|
|
65
|
+
* CC Custom Rules are rules that you create from scratch. There are two ways to create CC custom rules: with Lambda functions ([Developer Guide](https://docs.aws.amazon.com/config/latest/developerguide/gettingstarted-concepts.html#gettingstarted-concepts-function)) and with CFNGUARDshort ([Guard GitHub Repository](https://docs.aws.amazon.com/https://github.com/aws-cloudformation/cloudformation-guard)), a policy-as-code language. CC custom rules created with LAMlong are called *Custom Lambda Rules* and CC custom rules created with CFNGUARDshort are called *Custom Policy Rules*.
|
|
66
|
+
* If you are adding a new CC Custom LAM rule, you first need to create an LAMlong function that the rule invokes to evaluate your resources. When you use the ``ConfigRule`` resource to add a Custom LAM rule to CC, you must specify the Amazon Resource Name (ARN) that LAMlong assigns to the function. You specify the ARN in the ``SourceIdentifier`` key. This key is part of the ``Source`` object, which is part of the ``ConfigRule`` object.
|
|
67
|
+
* For any new CC rule that you add, specify the ``ConfigRuleName`` in the ``ConfigRule`` object. Do not specify the ``ConfigRuleArn`` or the ``ConfigRuleId``. These values are generated by CC for new rules.
|
|
68
|
+
* If you are updating a rule that you added previously, you can specify the rule by ``ConfigRuleName``, ``ConfigRuleId``, or ``ConfigRuleArn`` in the ``ConfigRule`` data type that you use in this request.
|
|
69
|
+
* For more information about developing and using CC rules, see [Evaluating Resources with Rules](https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config.html) in the *Developer Guide*.
|
|
60
70
|
*/
|
|
61
71
|
export declare function getConfigRuleOutput(args: GetConfigRuleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetConfigRuleResult>;
|
|
62
72
|
export interface GetConfigRuleOutputArgs {
|
|
@@ -9,7 +9,12 @@ const utilities = require("../utilities");
|
|
|
9
9
|
* You must first create and start the CC configuration recorder in order to create CC managed rules with CFNlong. For more information, see [Managing the Configuration Recorder](https://docs.aws.amazon.com/config/latest/developerguide/stop-start-recorder.html).
|
|
10
10
|
* Adds or updates an CC rule to evaluate if your AWS resources comply with your desired configurations. For information on how many CC rules you can have per account, see [Service Limits](https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html) in the *Developer Guide*.
|
|
11
11
|
* There are two types of rules: *Managed Rules* and *Custom Rules*. You can use the ``ConfigRule`` resource to create both CC Managed Rules and CC Custom Rules.
|
|
12
|
-
* CC Managed Rules are predefined, customizable rules created by CC. For a list of managed rules, see [List of Managed Rules](https://docs.aws.amazon.com/config/latest/developerguide/managed-rules-by-aws-config.html). If you are adding an CC managed rule, you must specify the rule's
|
|
12
|
+
* CC Managed Rules are predefined, customizable rules created by CC. For a list of managed rules, see [List of Managed Rules](https://docs.aws.amazon.com/config/latest/developerguide/managed-rules-by-aws-config.html). If you are adding an CC managed rule, you must specify the rule's identifier for the ``SourceIdentifier`` key.
|
|
13
|
+
* CC Custom Rules are rules that you create from scratch. There are two ways to create CC custom rules: with Lambda functions ([Developer Guide](https://docs.aws.amazon.com/config/latest/developerguide/gettingstarted-concepts.html#gettingstarted-concepts-function)) and with CFNGUARDshort ([Guard GitHub Repository](https://docs.aws.amazon.com/https://github.com/aws-cloudformation/cloudformation-guard)), a policy-as-code language. CC custom rules created with LAMlong are called *Custom Lambda Rules* and CC custom rules created with CFNGUARDshort are called *Custom Policy Rules*.
|
|
14
|
+
* If you are adding a new CC Custom LAM rule, you first need to create an LAMlong function that the rule invokes to evaluate your resources. When you use the ``ConfigRule`` resource to add a Custom LAM rule to CC, you must specify the Amazon Resource Name (ARN) that LAMlong assigns to the function. You specify the ARN in the ``SourceIdentifier`` key. This key is part of the ``Source`` object, which is part of the ``ConfigRule`` object.
|
|
15
|
+
* For any new CC rule that you add, specify the ``ConfigRuleName`` in the ``ConfigRule`` object. Do not specify the ``ConfigRuleArn`` or the ``ConfigRuleId``. These values are generated by CC for new rules.
|
|
16
|
+
* If you are updating a rule that you added previously, you can specify the rule by ``ConfigRuleName``, ``ConfigRuleId``, or ``ConfigRuleArn`` in the ``ConfigRule`` data type that you use in this request.
|
|
17
|
+
* For more information about developing and using CC rules, see [Evaluating Resources with Rules](https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config.html) in the *Developer Guide*.
|
|
13
18
|
*/
|
|
14
19
|
function getConfigRule(args, opts) {
|
|
15
20
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -22,7 +27,12 @@ exports.getConfigRule = getConfigRule;
|
|
|
22
27
|
* You must first create and start the CC configuration recorder in order to create CC managed rules with CFNlong. For more information, see [Managing the Configuration Recorder](https://docs.aws.amazon.com/config/latest/developerguide/stop-start-recorder.html).
|
|
23
28
|
* Adds or updates an CC rule to evaluate if your AWS resources comply with your desired configurations. For information on how many CC rules you can have per account, see [Service Limits](https://docs.aws.amazon.com/config/latest/developerguide/configlimits.html) in the *Developer Guide*.
|
|
24
29
|
* There are two types of rules: *Managed Rules* and *Custom Rules*. You can use the ``ConfigRule`` resource to create both CC Managed Rules and CC Custom Rules.
|
|
25
|
-
* CC Managed Rules are predefined, customizable rules created by CC. For a list of managed rules, see [List of Managed Rules](https://docs.aws.amazon.com/config/latest/developerguide/managed-rules-by-aws-config.html). If you are adding an CC managed rule, you must specify the rule's
|
|
30
|
+
* CC Managed Rules are predefined, customizable rules created by CC. For a list of managed rules, see [List of Managed Rules](https://docs.aws.amazon.com/config/latest/developerguide/managed-rules-by-aws-config.html). If you are adding an CC managed rule, you must specify the rule's identifier for the ``SourceIdentifier`` key.
|
|
31
|
+
* CC Custom Rules are rules that you create from scratch. There are two ways to create CC custom rules: with Lambda functions ([Developer Guide](https://docs.aws.amazon.com/config/latest/developerguide/gettingstarted-concepts.html#gettingstarted-concepts-function)) and with CFNGUARDshort ([Guard GitHub Repository](https://docs.aws.amazon.com/https://github.com/aws-cloudformation/cloudformation-guard)), a policy-as-code language. CC custom rules created with LAMlong are called *Custom Lambda Rules* and CC custom rules created with CFNGUARDshort are called *Custom Policy Rules*.
|
|
32
|
+
* If you are adding a new CC Custom LAM rule, you first need to create an LAMlong function that the rule invokes to evaluate your resources. When you use the ``ConfigRule`` resource to add a Custom LAM rule to CC, you must specify the Amazon Resource Name (ARN) that LAMlong assigns to the function. You specify the ARN in the ``SourceIdentifier`` key. This key is part of the ``Source`` object, which is part of the ``ConfigRule`` object.
|
|
33
|
+
* For any new CC rule that you add, specify the ``ConfigRuleName`` in the ``ConfigRule`` object. Do not specify the ``ConfigRuleArn`` or the ``ConfigRuleId``. These values are generated by CC for new rules.
|
|
34
|
+
* If you are updating a rule that you added previously, you can specify the rule by ``ConfigRuleName``, ``ConfigRuleId``, or ``ConfigRuleArn`` in the ``ConfigRule`` data type that you use in this request.
|
|
35
|
+
* For more information about developing and using CC rules, see [Evaluating Resources with Rules](https://docs.aws.amazon.com/config/latest/developerguide/evaluate-config.html) in the *Developer Guide*.
|
|
26
36
|
*/
|
|
27
37
|
function getConfigRuleOutput(args, opts) {
|
|
28
38
|
return pulumi.output(args).apply((a) => getConfigRule(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getConfigRule.js","sourceRoot":"","sources":["../../configuration/getConfigRule.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getConfigRule.js","sourceRoot":"","sources":["../../configuration/getConfigRule.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;;;;;;;;;GAUG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAE9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sCAMC;AAgDD;;;;;;;;;;GAUG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
|
package/iam/getRolePolicy.d.ts
CHANGED
|
@@ -2,7 +2,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Adds or updates an inline policy document that is embedded in the specified IAM role.
|
|
4
4
|
* When you embed an inline policy in a role, the inline policy is used as part of the role's access (permissions) policy. The role's trust policy is created at the same time as the role, using [CreateRole](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html). You can update a role's trust policy using [UpdateAssumeRolePolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateAssumeRolePolicy.html). For information about roles, see [roles](https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplevel.html) in the *IAM User Guide*.
|
|
5
|
-
* A role can also have a managed policy attached to it. To attach a managed policy to a role, use [AWS::IAM::Role](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html). To create a new managed policy, use [AWS::IAM::ManagedPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-
|
|
5
|
+
* A role can also have a managed policy attached to it. To attach a managed policy to a role, use [AWS::IAM::Role](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html). To create a new managed policy, use [AWS::IAM::ManagedPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-managedpolicy.html). For information about policies, see [Managed policies and inline policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) in the *IAM User Guide*.
|
|
6
|
+
* For information about the maximum number of inline policies that you can embed with a role, see [IAM and quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html) in the *IAM User Guide*.
|
|
6
7
|
*/
|
|
7
8
|
export declare function getRolePolicy(args: GetRolePolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetRolePolicyResult>;
|
|
8
9
|
export interface GetRolePolicyArgs {
|
|
@@ -33,7 +34,8 @@ export interface GetRolePolicyResult {
|
|
|
33
34
|
/**
|
|
34
35
|
* Adds or updates an inline policy document that is embedded in the specified IAM role.
|
|
35
36
|
* When you embed an inline policy in a role, the inline policy is used as part of the role's access (permissions) policy. The role's trust policy is created at the same time as the role, using [CreateRole](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html). You can update a role's trust policy using [UpdateAssumeRolePolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateAssumeRolePolicy.html). For information about roles, see [roles](https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplevel.html) in the *IAM User Guide*.
|
|
36
|
-
* A role can also have a managed policy attached to it. To attach a managed policy to a role, use [AWS::IAM::Role](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html). To create a new managed policy, use [AWS::IAM::ManagedPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-
|
|
37
|
+
* A role can also have a managed policy attached to it. To attach a managed policy to a role, use [AWS::IAM::Role](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html). To create a new managed policy, use [AWS::IAM::ManagedPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-managedpolicy.html). For information about policies, see [Managed policies and inline policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) in the *IAM User Guide*.
|
|
38
|
+
* For information about the maximum number of inline policies that you can embed with a role, see [IAM and quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html) in the *IAM User Guide*.
|
|
37
39
|
*/
|
|
38
40
|
export declare function getRolePolicyOutput(args: GetRolePolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRolePolicyResult>;
|
|
39
41
|
export interface GetRolePolicyOutputArgs {
|
package/iam/getRolePolicy.js
CHANGED
|
@@ -8,7 +8,8 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Adds or updates an inline policy document that is embedded in the specified IAM role.
|
|
10
10
|
* When you embed an inline policy in a role, the inline policy is used as part of the role's access (permissions) policy. The role's trust policy is created at the same time as the role, using [CreateRole](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html). You can update a role's trust policy using [UpdateAssumeRolePolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateAssumeRolePolicy.html). For information about roles, see [roles](https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplevel.html) in the *IAM User Guide*.
|
|
11
|
-
* A role can also have a managed policy attached to it. To attach a managed policy to a role, use [AWS::IAM::Role](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html). To create a new managed policy, use [AWS::IAM::ManagedPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-
|
|
11
|
+
* A role can also have a managed policy attached to it. To attach a managed policy to a role, use [AWS::IAM::Role](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html). To create a new managed policy, use [AWS::IAM::ManagedPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-managedpolicy.html). For information about policies, see [Managed policies and inline policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) in the *IAM User Guide*.
|
|
12
|
+
* For information about the maximum number of inline policies that you can embed with a role, see [IAM and quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html) in the *IAM User Guide*.
|
|
12
13
|
*/
|
|
13
14
|
function getRolePolicy(args, opts) {
|
|
14
15
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -21,7 +22,8 @@ exports.getRolePolicy = getRolePolicy;
|
|
|
21
22
|
/**
|
|
22
23
|
* Adds or updates an inline policy document that is embedded in the specified IAM role.
|
|
23
24
|
* When you embed an inline policy in a role, the inline policy is used as part of the role's access (permissions) policy. The role's trust policy is created at the same time as the role, using [CreateRole](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html). You can update a role's trust policy using [UpdateAssumeRolePolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateAssumeRolePolicy.html). For information about roles, see [roles](https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplevel.html) in the *IAM User Guide*.
|
|
24
|
-
* A role can also have a managed policy attached to it. To attach a managed policy to a role, use [AWS::IAM::Role](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html). To create a new managed policy, use [AWS::IAM::ManagedPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-
|
|
25
|
+
* A role can also have a managed policy attached to it. To attach a managed policy to a role, use [AWS::IAM::Role](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html). To create a new managed policy, use [AWS::IAM::ManagedPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-managedpolicy.html). For information about policies, see [Managed policies and inline policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) in the *IAM User Guide*.
|
|
26
|
+
* For information about the maximum number of inline policies that you can embed with a role, see [IAM and quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html) in the *IAM User Guide*.
|
|
25
27
|
*/
|
|
26
28
|
function getRolePolicyOutput(args, opts) {
|
|
27
29
|
return pulumi.output(args).apply((a) => getRolePolicy(a, opts));
|
package/iam/getRolePolicy.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRolePolicy.js","sourceRoot":"","sources":["../../iam/getRolePolicy.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"getRolePolicy.js","sourceRoot":"","sources":["../../iam/getRolePolicy.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;GAKG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAE9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8BAA8B,EAAE;QACzD,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sCAOC;AA4BD;;;;;GAKG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
|
package/iam/rolePolicy.d.ts
CHANGED
|
@@ -2,7 +2,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* Adds or updates an inline policy document that is embedded in the specified IAM role.
|
|
4
4
|
* When you embed an inline policy in a role, the inline policy is used as part of the role's access (permissions) policy. The role's trust policy is created at the same time as the role, using [CreateRole](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html). You can update a role's trust policy using [UpdateAssumeRolePolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateAssumeRolePolicy.html). For information about roles, see [roles](https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplevel.html) in the *IAM User Guide*.
|
|
5
|
-
* A role can also have a managed policy attached to it. To attach a managed policy to a role, use [AWS::IAM::Role](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html). To create a new managed policy, use [AWS::IAM::ManagedPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-
|
|
5
|
+
* A role can also have a managed policy attached to it. To attach a managed policy to a role, use [AWS::IAM::Role](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html). To create a new managed policy, use [AWS::IAM::ManagedPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-managedpolicy.html). For information about policies, see [Managed policies and inline policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) in the *IAM User Guide*.
|
|
6
|
+
* For information about the maximum number of inline policies that you can embed with a role, see [IAM and quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html) in the *IAM User Guide*.
|
|
6
7
|
*/
|
|
7
8
|
export declare class RolePolicy extends pulumi.CustomResource {
|
|
8
9
|
/**
|
package/iam/rolePolicy.js
CHANGED
|
@@ -8,7 +8,8 @@ const utilities = require("../utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* Adds or updates an inline policy document that is embedded in the specified IAM role.
|
|
10
10
|
* When you embed an inline policy in a role, the inline policy is used as part of the role's access (permissions) policy. The role's trust policy is created at the same time as the role, using [CreateRole](https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html). You can update a role's trust policy using [UpdateAssumeRolePolicy](https://docs.aws.amazon.com/IAM/latest/APIReference/API_UpdateAssumeRolePolicy.html). For information about roles, see [roles](https://docs.aws.amazon.com/IAM/latest/UserGuide/roles-toplevel.html) in the *IAM User Guide*.
|
|
11
|
-
* A role can also have a managed policy attached to it. To attach a managed policy to a role, use [AWS::IAM::Role](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html). To create a new managed policy, use [AWS::IAM::ManagedPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-
|
|
11
|
+
* A role can also have a managed policy attached to it. To attach a managed policy to a role, use [AWS::IAM::Role](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-role.html). To create a new managed policy, use [AWS::IAM::ManagedPolicy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-managedpolicy.html). For information about policies, see [Managed policies and inline policies](https://docs.aws.amazon.com/IAM/latest/UserGuide/policies-managed-vs-inline.html) in the *IAM User Guide*.
|
|
12
|
+
* For information about the maximum number of inline policies that you can embed with a role, see [IAM and quotas](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html) in the *IAM User Guide*.
|
|
12
13
|
*/
|
|
13
14
|
class RolePolicy extends pulumi.CustomResource {
|
|
14
15
|
/**
|
package/iam/rolePolicy.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rolePolicy.js","sourceRoot":"","sources":["../../iam/rolePolicy.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C
|
|
1
|
+
{"version":3,"file":"rolePolicy.js","sourceRoot":"","sources":["../../iam/rolePolicy.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;;;;GAKG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,UAAU,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IAwBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IA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EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AA9EL,gCA+EC;AAlEG,gBAAgB;AACO,uBAAY,GAAG,2BAA2B,CAAC"}
|
package/iotsitewise/asset.d.ts
CHANGED
|
@@ -27,6 +27,10 @@ export declare class Asset extends pulumi.CustomResource {
|
|
|
27
27
|
* A description for the asset
|
|
28
28
|
*/
|
|
29
29
|
readonly assetDescription: pulumi.Output<string | undefined>;
|
|
30
|
+
/**
|
|
31
|
+
* The External ID of the asset
|
|
32
|
+
*/
|
|
33
|
+
readonly assetExternalId: pulumi.Output<string | undefined>;
|
|
30
34
|
readonly assetHierarchies: pulumi.Output<outputs.iotsitewise.AssetHierarchy[] | undefined>;
|
|
31
35
|
/**
|
|
32
36
|
* The ID of the asset
|
|
@@ -62,6 +66,10 @@ export interface AssetArgs {
|
|
|
62
66
|
* A description for the asset
|
|
63
67
|
*/
|
|
64
68
|
assetDescription?: pulumi.Input<string>;
|
|
69
|
+
/**
|
|
70
|
+
* The External ID of the asset
|
|
71
|
+
*/
|
|
72
|
+
assetExternalId?: pulumi.Input<string>;
|
|
65
73
|
assetHierarchies?: pulumi.Input<pulumi.Input<inputs.iotsitewise.AssetHierarchyArgs>[]>;
|
|
66
74
|
/**
|
|
67
75
|
* The ID of the asset model from which to create the asset.
|
package/iotsitewise/asset.js
CHANGED
|
@@ -45,6 +45,7 @@ class Asset extends pulumi.CustomResource {
|
|
|
45
45
|
throw new Error("Missing required property 'assetModelId'");
|
|
46
46
|
}
|
|
47
47
|
resourceInputs["assetDescription"] = args ? args.assetDescription : undefined;
|
|
48
|
+
resourceInputs["assetExternalId"] = args ? args.assetExternalId : undefined;
|
|
48
49
|
resourceInputs["assetHierarchies"] = args ? args.assetHierarchies : undefined;
|
|
49
50
|
resourceInputs["assetModelId"] = args ? args.assetModelId : undefined;
|
|
50
51
|
resourceInputs["assetName"] = args ? args.assetName : undefined;
|
|
@@ -56,6 +57,7 @@ class Asset extends pulumi.CustomResource {
|
|
|
56
57
|
else {
|
|
57
58
|
resourceInputs["assetArn"] = undefined /*out*/;
|
|
58
59
|
resourceInputs["assetDescription"] = undefined /*out*/;
|
|
60
|
+
resourceInputs["assetExternalId"] = undefined /*out*/;
|
|
59
61
|
resourceInputs["assetHierarchies"] = undefined /*out*/;
|
|
60
62
|
resourceInputs["assetId"] = undefined /*out*/;
|
|
61
63
|
resourceInputs["assetModelId"] = undefined /*out*/;
|
package/iotsitewise/asset.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"asset.js","sourceRoot":"","sources":["../../iotsitewise/asset.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,KAAK,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;
|
|
1
|
+
{"version":3,"file":"asset.js","sourceRoot":"","sources":["../../iotsitewise/asset.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;OAOG;IACI,MAAM,CA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31,6 +31,10 @@ export declare class AssetModel extends pulumi.CustomResource {
|
|
|
31
31
|
* A description for the asset model.
|
|
32
32
|
*/
|
|
33
33
|
readonly assetModelDescription: pulumi.Output<string | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* The external ID of the asset model.
|
|
36
|
+
*/
|
|
37
|
+
readonly assetModelExternalId: pulumi.Output<string | undefined>;
|
|
34
38
|
/**
|
|
35
39
|
* The hierarchy definitions of the asset model. Each hierarchy specifies an asset model whose assets can be children of any other assets created from this asset model. You can specify up to 10 hierarchies per asset model.
|
|
36
40
|
*/
|
|
@@ -47,6 +51,10 @@ export declare class AssetModel extends pulumi.CustomResource {
|
|
|
47
51
|
* The property definitions of the asset model. You can specify up to 200 properties per asset model.
|
|
48
52
|
*/
|
|
49
53
|
readonly assetModelProperties: pulumi.Output<outputs.iotsitewise.AssetModelProperty[] | undefined>;
|
|
54
|
+
/**
|
|
55
|
+
* The type of the asset model (ASSET_MODEL OR COMPONENT_MODEL)
|
|
56
|
+
*/
|
|
57
|
+
readonly assetModelType: pulumi.Output<string | undefined>;
|
|
50
58
|
/**
|
|
51
59
|
* A list of key-value pairs that contain metadata for the asset model.
|
|
52
60
|
*/
|
|
@@ -72,6 +80,10 @@ export interface AssetModelArgs {
|
|
|
72
80
|
* A description for the asset model.
|
|
73
81
|
*/
|
|
74
82
|
assetModelDescription?: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The external ID of the asset model.
|
|
85
|
+
*/
|
|
86
|
+
assetModelExternalId?: pulumi.Input<string>;
|
|
75
87
|
/**
|
|
76
88
|
* The hierarchy definitions of the asset model. Each hierarchy specifies an asset model whose assets can be children of any other assets created from this asset model. You can specify up to 10 hierarchies per asset model.
|
|
77
89
|
*/
|
|
@@ -84,6 +96,10 @@ export interface AssetModelArgs {
|
|
|
84
96
|
* The property definitions of the asset model. You can specify up to 200 properties per asset model.
|
|
85
97
|
*/
|
|
86
98
|
assetModelProperties?: pulumi.Input<pulumi.Input<inputs.iotsitewise.AssetModelPropertyArgs>[]>;
|
|
99
|
+
/**
|
|
100
|
+
* The type of the asset model (ASSET_MODEL OR COMPONENT_MODEL)
|
|
101
|
+
*/
|
|
102
|
+
assetModelType?: pulumi.Input<string>;
|
|
87
103
|
/**
|
|
88
104
|
* A list of key-value pairs that contain metadata for the asset model.
|
|
89
105
|
*/
|
|
@@ -43,9 +43,11 @@ class AssetModel extends pulumi.CustomResource {
|
|
|
43
43
|
if (!opts.id) {
|
|
44
44
|
resourceInputs["assetModelCompositeModels"] = args ? args.assetModelCompositeModels : undefined;
|
|
45
45
|
resourceInputs["assetModelDescription"] = args ? args.assetModelDescription : undefined;
|
|
46
|
+
resourceInputs["assetModelExternalId"] = args ? args.assetModelExternalId : undefined;
|
|
46
47
|
resourceInputs["assetModelHierarchies"] = args ? args.assetModelHierarchies : undefined;
|
|
47
48
|
resourceInputs["assetModelName"] = args ? args.assetModelName : undefined;
|
|
48
49
|
resourceInputs["assetModelProperties"] = args ? args.assetModelProperties : undefined;
|
|
50
|
+
resourceInputs["assetModelType"] = args ? args.assetModelType : undefined;
|
|
49
51
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
50
52
|
resourceInputs["assetModelArn"] = undefined /*out*/;
|
|
51
53
|
resourceInputs["assetModelId"] = undefined /*out*/;
|
|
@@ -54,13 +56,17 @@ class AssetModel extends pulumi.CustomResource {
|
|
|
54
56
|
resourceInputs["assetModelArn"] = undefined /*out*/;
|
|
55
57
|
resourceInputs["assetModelCompositeModels"] = undefined /*out*/;
|
|
56
58
|
resourceInputs["assetModelDescription"] = undefined /*out*/;
|
|
59
|
+
resourceInputs["assetModelExternalId"] = undefined /*out*/;
|
|
57
60
|
resourceInputs["assetModelHierarchies"] = undefined /*out*/;
|
|
58
61
|
resourceInputs["assetModelId"] = undefined /*out*/;
|
|
59
62
|
resourceInputs["assetModelName"] = undefined /*out*/;
|
|
60
63
|
resourceInputs["assetModelProperties"] = undefined /*out*/;
|
|
64
|
+
resourceInputs["assetModelType"] = undefined /*out*/;
|
|
61
65
|
resourceInputs["tags"] = undefined /*out*/;
|
|
62
66
|
}
|
|
63
67
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
68
|
+
const replaceOnChanges = { replaceOnChanges: ["assetModelType"] };
|
|
69
|
+
opts = pulumi.mergeOptions(opts, replaceOnChanges);
|
|
64
70
|
super(AssetModel.__pulumiType, name, resourceInputs, opts);
|
|
65
71
|
}
|
|
66
72
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assetModel.js","sourceRoot":"","sources":["../../iotsitewise/assetModel.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,UAAU,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;
|
|
1
|
+
{"version":3,"file":"assetModel.js","sourceRoot":"","sources":["../../iotsitewise/assetModel.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAA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AAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AAzGL,gCA0GC;AA7FG,gBAAgB;AACO,uBAAY,GAAG,mCAAmC,CAAC"}
|
|
@@ -19,6 +19,10 @@ export interface GetAssetResult {
|
|
|
19
19
|
* A description for the asset
|
|
20
20
|
*/
|
|
21
21
|
readonly assetDescription?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The External ID of the asset
|
|
24
|
+
*/
|
|
25
|
+
readonly assetExternalId?: string;
|
|
22
26
|
readonly assetHierarchies?: outputs.iotsitewise.AssetHierarchy[];
|
|
23
27
|
/**
|
|
24
28
|
* The ID of the asset
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAsset.js","sourceRoot":"","sources":["../../iotsitewise/getAsset.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4BAMC;
|
|
1
|
+
{"version":3,"file":"getAsset.js","sourceRoot":"","sources":["../../iotsitewise/getAsset.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4BAMC;AAyCD;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
|
|
@@ -23,6 +23,10 @@ export interface GetAssetModelResult {
|
|
|
23
23
|
* A description for the asset model.
|
|
24
24
|
*/
|
|
25
25
|
readonly assetModelDescription?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The external ID of the asset model.
|
|
28
|
+
*/
|
|
29
|
+
readonly assetModelExternalId?: string;
|
|
26
30
|
/**
|
|
27
31
|
* The hierarchy definitions of the asset model. Each hierarchy specifies an asset model whose assets can be children of any other assets created from this asset model. You can specify up to 10 hierarchies per asset model.
|
|
28
32
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAssetModel.js","sourceRoot":"","sources":["../../iotsitewise/getAssetModel.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAE9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sCAMC;
|
|
1
|
+
{"version":3,"file":"getAssetModel.js","sourceRoot":"","sources":["../../iotsitewise/getAssetModel.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAE9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sCAMC;AA+CD;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
|