@pulumi/aws-native 0.50.0 → 0.51.0
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/apigatewayv2/getRouteResponse.d.ts +7 -3
- package/apigatewayv2/getRouteResponse.js +3 -1
- package/apigatewayv2/getRouteResponse.js.map +1 -1
- package/apigatewayv2/routeResponse.d.ts +1 -3
- package/apigatewayv2/routeResponse.js +2 -5
- package/apigatewayv2/routeResponse.js.map +1 -1
- package/applicationautoscaling/getScalableTarget.d.ts +3 -39
- package/applicationautoscaling/getScalableTarget.js +1 -3
- package/applicationautoscaling/getScalableTarget.js.map +1 -1
- package/applicationautoscaling/scalableTarget.d.ts +2 -50
- package/applicationautoscaling/scalableTarget.js +3 -0
- package/applicationautoscaling/scalableTarget.js.map +1 -1
- package/configuration/getOrganizationConfigRule.d.ts +1 -1
- package/configuration/organizationConfigRule.d.ts +2 -2
- package/configuration/organizationConfigRule.js +2 -2
- package/configuration/organizationConfigRule.js.map +1 -1
- package/ec2/getLocalGatewayRouteTable.d.ts +48 -0
- package/ec2/getLocalGatewayRouteTable.js +25 -0
- package/ec2/getLocalGatewayRouteTable.js.map +1 -0
- package/ec2/getLocalGatewayRouteTableVirtualInterfaceGroupAssociation.d.ts +48 -0
- package/ec2/getLocalGatewayRouteTableVirtualInterfaceGroupAssociation.js +25 -0
- package/ec2/getLocalGatewayRouteTableVirtualInterfaceGroupAssociation.js.map +1 -0
- package/ec2/index.d.ts +12 -0
- package/ec2/index.js +19 -5
- package/ec2/index.js.map +1 -1
- package/ec2/localGatewayRouteTable.d.ts +79 -0
- package/ec2/localGatewayRouteTable.js +73 -0
- package/ec2/localGatewayRouteTable.js.map +1 -0
- package/ec2/localGatewayRouteTableVirtualInterfaceGroupAssociation.d.ts +79 -0
- package/ec2/localGatewayRouteTableVirtualInterfaceGroupAssociation.js +76 -0
- package/ec2/localGatewayRouteTableVirtualInterfaceGroupAssociation.js.map +1 -0
- package/elasticache/getReplicationGroup.d.ts +2 -0
- package/elasticache/getReplicationGroup.js.map +1 -1
- package/elasticache/replicationGroup.d.ts +2 -0
- package/elasticache/replicationGroup.js +2 -0
- package/elasticache/replicationGroup.js.map +1 -1
- package/events/archive.d.ts +1 -1
- package/fms/getResourceSet.d.ts +24 -0
- package/fms/getResourceSet.js +25 -0
- package/fms/getResourceSet.js.map +1 -0
- package/fms/index.d.ts +6 -0
- package/fms/index.js +8 -1
- package/fms/index.js.map +1 -1
- package/fms/resourceSet.d.ts +45 -0
- package/fms/resourceSet.js +67 -0
- package/fms/resourceSet.js.map +1 -0
- package/index.d.ts +2 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/networkmanager/getTransitGatewayPeering.d.ts +64 -0
- package/networkmanager/getTransitGatewayPeering.js +25 -0
- package/networkmanager/getTransitGatewayPeering.js.map +1 -0
- package/networkmanager/index.d.ts +6 -0
- package/networkmanager/index.js +8 -1
- package/networkmanager/index.js.map +1 -1
- package/networkmanager/transitGatewayPeering.d.ts +95 -0
- package/networkmanager/transitGatewayPeering.js +84 -0
- package/networkmanager/transitGatewayPeering.js.map +1 -0
- package/organizations/getResourcePolicy.d.ts +40 -0
- package/organizations/getResourcePolicy.js +25 -0
- package/organizations/getResourcePolicy.js.map +1 -0
- package/organizations/index.d.ts +6 -0
- package/organizations/index.js +8 -1
- package/organizations/index.js.map +1 -1
- package/organizations/resourcePolicy.d.ts +55 -0
- package/organizations/resourcePolicy.js +63 -0
- package/organizations/resourcePolicy.js.map +1 -0
- package/package.json +2 -2
- package/package.json.dev +2 -2
- package/systemsmanagersap/application.d.ts +60 -0
- package/systemsmanagersap/application.js +76 -0
- package/systemsmanagersap/application.js.map +1 -0
- package/systemsmanagersap/getApplication.d.ts +35 -0
- package/systemsmanagersap/getApplication.js +25 -0
- package/systemsmanagersap/getApplication.js.map +1 -0
- package/systemsmanagersap/index.d.ts +7 -0
- package/systemsmanagersap/index.js +41 -0
- package/systemsmanagersap/index.js.map +1 -0
- package/types/enums/index.d.ts +2 -1
- package/types/enums/index.js +3 -1
- package/types/enums/index.js.map +1 -1
- package/types/enums/refactorspaces/index.d.ts +1 -0
- package/types/enums/refactorspaces/index.js +1 -0
- package/types/enums/refactorspaces/index.js.map +1 -1
- package/types/enums/systemsmanagersap/index.d.ts +8 -0
- package/types/enums/systemsmanagersap/index.js +12 -0
- package/types/enums/systemsmanagersap/index.js.map +1 -0
- package/types/input.d.ts +67 -2
- package/types/output.d.ts +67 -2
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* AWS::NetworkManager::TransitGatewayPeering Resoruce Type.
|
|
6
|
+
*/
|
|
7
|
+
export declare class TransitGatewayPeering extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing TransitGatewayPeering resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
15
|
+
*/
|
|
16
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): TransitGatewayPeering;
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of TransitGatewayPeering. This is designed to work even
|
|
19
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
20
|
+
*/
|
|
21
|
+
static isInstance(obj: any): obj is TransitGatewayPeering;
|
|
22
|
+
/**
|
|
23
|
+
* The ARN (Amazon Resource Name) of the core network that you want to peer a transit gateway to.
|
|
24
|
+
*/
|
|
25
|
+
readonly coreNetworkArn: pulumi.Output<string>;
|
|
26
|
+
/**
|
|
27
|
+
* The Id of the core network that you want to peer a transit gateway to.
|
|
28
|
+
*/
|
|
29
|
+
readonly coreNetworkId: pulumi.Output<string>;
|
|
30
|
+
/**
|
|
31
|
+
* The creation time of the transit gateway peering
|
|
32
|
+
*/
|
|
33
|
+
readonly createdAt: pulumi.Output<string>;
|
|
34
|
+
/**
|
|
35
|
+
* The location of the transit gateway peering
|
|
36
|
+
*/
|
|
37
|
+
readonly edgeLocation: pulumi.Output<string>;
|
|
38
|
+
/**
|
|
39
|
+
* Peering owner account Id
|
|
40
|
+
*/
|
|
41
|
+
readonly ownerAccountId: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* The Id of the transit gateway peering
|
|
44
|
+
*/
|
|
45
|
+
readonly peeringId: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* Peering type (TransitGatewayPeering)
|
|
48
|
+
*/
|
|
49
|
+
readonly peeringType: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* The ARN (Amazon Resource Name) of the resource that you will peer to a core network
|
|
52
|
+
*/
|
|
53
|
+
readonly resourceArn: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* The state of the transit gateway peering
|
|
56
|
+
*/
|
|
57
|
+
readonly state: pulumi.Output<string>;
|
|
58
|
+
/**
|
|
59
|
+
* An array of key-value pairs to apply to this resource.
|
|
60
|
+
*/
|
|
61
|
+
readonly tags: pulumi.Output<outputs.networkmanager.TransitGatewayPeeringTag[] | undefined>;
|
|
62
|
+
/**
|
|
63
|
+
* The ARN (Amazon Resource Name) of the transit gateway that you will peer to a core network
|
|
64
|
+
*/
|
|
65
|
+
readonly transitGatewayArn: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* The ID of the TransitGatewayPeeringAttachment
|
|
68
|
+
*/
|
|
69
|
+
readonly transitGatewayPeeringAttachmentId: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* Create a TransitGatewayPeering resource with the given unique name, arguments, and options.
|
|
72
|
+
*
|
|
73
|
+
* @param name The _unique_ name of the resource.
|
|
74
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
75
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
76
|
+
*/
|
|
77
|
+
constructor(name: string, args: TransitGatewayPeeringArgs, opts?: pulumi.CustomResourceOptions);
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* The set of arguments for constructing a TransitGatewayPeering resource.
|
|
81
|
+
*/
|
|
82
|
+
export interface TransitGatewayPeeringArgs {
|
|
83
|
+
/**
|
|
84
|
+
* The Id of the core network that you want to peer a transit gateway to.
|
|
85
|
+
*/
|
|
86
|
+
coreNetworkId: pulumi.Input<string>;
|
|
87
|
+
/**
|
|
88
|
+
* An array of key-value pairs to apply to this resource.
|
|
89
|
+
*/
|
|
90
|
+
tags?: pulumi.Input<pulumi.Input<inputs.networkmanager.TransitGatewayPeeringTagArgs>[]>;
|
|
91
|
+
/**
|
|
92
|
+
* The ARN (Amazon Resource Name) of the transit gateway that you will peer to a core network
|
|
93
|
+
*/
|
|
94
|
+
transitGatewayArn: pulumi.Input<string>;
|
|
95
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.TransitGatewayPeering = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* AWS::NetworkManager::TransitGatewayPeering Resoruce Type.
|
|
10
|
+
*/
|
|
11
|
+
class TransitGatewayPeering extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing TransitGatewayPeering resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
19
|
+
*/
|
|
20
|
+
static get(name, id, opts) {
|
|
21
|
+
return new TransitGatewayPeering(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of TransitGatewayPeering. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj) {
|
|
28
|
+
if (obj === undefined || obj === null) {
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
return obj['__pulumiType'] === TransitGatewayPeering.__pulumiType;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Create a TransitGatewayPeering resource with the given unique name, arguments, and options.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resource.
|
|
37
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
38
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
39
|
+
*/
|
|
40
|
+
constructor(name, args, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (!opts.id) {
|
|
44
|
+
if ((!args || args.coreNetworkId === undefined) && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'coreNetworkId'");
|
|
46
|
+
}
|
|
47
|
+
if ((!args || args.transitGatewayArn === undefined) && !opts.urn) {
|
|
48
|
+
throw new Error("Missing required property 'transitGatewayArn'");
|
|
49
|
+
}
|
|
50
|
+
resourceInputs["coreNetworkId"] = args ? args.coreNetworkId : undefined;
|
|
51
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
52
|
+
resourceInputs["transitGatewayArn"] = args ? args.transitGatewayArn : undefined;
|
|
53
|
+
resourceInputs["coreNetworkArn"] = undefined /*out*/;
|
|
54
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
55
|
+
resourceInputs["edgeLocation"] = undefined /*out*/;
|
|
56
|
+
resourceInputs["ownerAccountId"] = undefined /*out*/;
|
|
57
|
+
resourceInputs["peeringId"] = undefined /*out*/;
|
|
58
|
+
resourceInputs["peeringType"] = undefined /*out*/;
|
|
59
|
+
resourceInputs["resourceArn"] = undefined /*out*/;
|
|
60
|
+
resourceInputs["state"] = undefined /*out*/;
|
|
61
|
+
resourceInputs["transitGatewayPeeringAttachmentId"] = undefined /*out*/;
|
|
62
|
+
}
|
|
63
|
+
else {
|
|
64
|
+
resourceInputs["coreNetworkArn"] = undefined /*out*/;
|
|
65
|
+
resourceInputs["coreNetworkId"] = undefined /*out*/;
|
|
66
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
67
|
+
resourceInputs["edgeLocation"] = undefined /*out*/;
|
|
68
|
+
resourceInputs["ownerAccountId"] = undefined /*out*/;
|
|
69
|
+
resourceInputs["peeringId"] = undefined /*out*/;
|
|
70
|
+
resourceInputs["peeringType"] = undefined /*out*/;
|
|
71
|
+
resourceInputs["resourceArn"] = undefined /*out*/;
|
|
72
|
+
resourceInputs["state"] = undefined /*out*/;
|
|
73
|
+
resourceInputs["tags"] = undefined /*out*/;
|
|
74
|
+
resourceInputs["transitGatewayArn"] = undefined /*out*/;
|
|
75
|
+
resourceInputs["transitGatewayPeeringAttachmentId"] = undefined /*out*/;
|
|
76
|
+
}
|
|
77
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
78
|
+
super(TransitGatewayPeering.__pulumiType, name, resourceInputs, opts);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
exports.TransitGatewayPeering = TransitGatewayPeering;
|
|
82
|
+
/** @internal */
|
|
83
|
+
TransitGatewayPeering.__pulumiType = 'aws-native:networkmanager:TransitGatewayPeering';
|
|
84
|
+
//# sourceMappingURL=transitGatewayPeering.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"transitGatewayPeering.js","sourceRoot":"","sources":["../../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O,CAAC;YAClD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,mCAAmC,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC3E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AAzHL,sDA0HC;AA7GG,gBAAgB;AACO,kCAAY,GAAG,iDAAiD,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* You can use AWS::Organizations::ResourcePolicy to delegate policy management for AWS Organizations to specified member accounts to perform policy actions that are by default available only to the management account.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getResourcePolicy(args: GetResourcePolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetResourcePolicyResult>;
|
|
7
|
+
export interface GetResourcePolicyArgs {
|
|
8
|
+
/**
|
|
9
|
+
* The unique identifier (ID) associated with this resource policy.
|
|
10
|
+
*/
|
|
11
|
+
id: string;
|
|
12
|
+
}
|
|
13
|
+
export interface GetResourcePolicyResult {
|
|
14
|
+
/**
|
|
15
|
+
* The Amazon Resource Name (ARN) of the resource policy.
|
|
16
|
+
*/
|
|
17
|
+
readonly arn?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The policy document. For AWS CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. AWS CloudFormation always converts a YAML policy to JSON format before submitting it.
|
|
20
|
+
*/
|
|
21
|
+
readonly content?: any;
|
|
22
|
+
/**
|
|
23
|
+
* The unique identifier (ID) associated with this resource policy.
|
|
24
|
+
*/
|
|
25
|
+
readonly id?: string;
|
|
26
|
+
/**
|
|
27
|
+
* A list of tags that you want to attach to the resource policy
|
|
28
|
+
*/
|
|
29
|
+
readonly tags?: outputs.organizations.ResourcePolicyTag[];
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* You can use AWS::Organizations::ResourcePolicy to delegate policy management for AWS Organizations to specified member accounts to perform policy actions that are by default available only to the management account.
|
|
33
|
+
*/
|
|
34
|
+
export declare function getResourcePolicyOutput(args: GetResourcePolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetResourcePolicyResult>;
|
|
35
|
+
export interface GetResourcePolicyOutputArgs {
|
|
36
|
+
/**
|
|
37
|
+
* The unique identifier (ID) associated with this resource policy.
|
|
38
|
+
*/
|
|
39
|
+
id: pulumi.Input<string>;
|
|
40
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getResourcePolicyOutput = exports.getResourcePolicy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* You can use AWS::Organizations::ResourcePolicy to delegate policy management for AWS Organizations to specified member accounts to perform policy actions that are by default available only to the management account.
|
|
10
|
+
*/
|
|
11
|
+
function getResourcePolicy(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("aws-native:organizations:getResourcePolicy", {
|
|
14
|
+
"id": args.id,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getResourcePolicy = getResourcePolicy;
|
|
18
|
+
/**
|
|
19
|
+
* You can use AWS::Organizations::ResourcePolicy to delegate policy management for AWS Organizations to specified member accounts to perform policy actions that are by default available only to the management account.
|
|
20
|
+
*/
|
|
21
|
+
function getResourcePolicyOutput(args, opts) {
|
|
22
|
+
return pulumi.output(args).apply((a) => getResourcePolicy(a, opts));
|
|
23
|
+
}
|
|
24
|
+
exports.getResourcePolicyOutput = getResourcePolicyOutput;
|
|
25
|
+
//# sourceMappingURL=getResourcePolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getResourcePolicy.js","sourceRoot":"","sources":["../../organizations/getResourcePolicy.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IAEtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8CAMC;AA2BD;;GAEG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,0DAEC"}
|
package/organizations/index.d.ts
CHANGED
|
@@ -10,10 +10,16 @@ export declare const getOrganizationalUnitOutput: typeof import("./getOrganizati
|
|
|
10
10
|
export { GetPolicyArgs, GetPolicyResult, GetPolicyOutputArgs } from "./getPolicy";
|
|
11
11
|
export declare const getPolicy: typeof import("./getPolicy").getPolicy;
|
|
12
12
|
export declare const getPolicyOutput: typeof import("./getPolicy").getPolicyOutput;
|
|
13
|
+
export { GetResourcePolicyArgs, GetResourcePolicyResult, GetResourcePolicyOutputArgs } from "./getResourcePolicy";
|
|
14
|
+
export declare const getResourcePolicy: typeof import("./getResourcePolicy").getResourcePolicy;
|
|
15
|
+
export declare const getResourcePolicyOutput: typeof import("./getResourcePolicy").getResourcePolicyOutput;
|
|
13
16
|
export { OrganizationalUnitArgs } from "./organizationalUnit";
|
|
14
17
|
export type OrganizationalUnit = import("./organizationalUnit").OrganizationalUnit;
|
|
15
18
|
export declare const OrganizationalUnit: typeof import("./organizationalUnit").OrganizationalUnit;
|
|
16
19
|
export { PolicyArgs } from "./policy";
|
|
17
20
|
export type Policy = import("./policy").Policy;
|
|
18
21
|
export declare const Policy: typeof import("./policy").Policy;
|
|
22
|
+
export { ResourcePolicyArgs } from "./resourcePolicy";
|
|
23
|
+
export type ResourcePolicy = import("./resourcePolicy").ResourcePolicy;
|
|
24
|
+
export declare const ResourcePolicy: typeof import("./resourcePolicy").ResourcePolicy;
|
|
19
25
|
export * from "../types/enums/organizations";
|
package/organizations/index.js
CHANGED
|
@@ -16,7 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
17
17
|
};
|
|
18
18
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
19
|
-
exports.Policy = exports.OrganizationalUnit = exports.getPolicyOutput = exports.getPolicy = exports.getOrganizationalUnitOutput = exports.getOrganizationalUnit = exports.getAccountOutput = exports.getAccount = exports.Account = void 0;
|
|
19
|
+
exports.ResourcePolicy = exports.Policy = exports.OrganizationalUnit = exports.getResourcePolicyOutput = exports.getResourcePolicy = exports.getPolicyOutput = exports.getPolicy = exports.getOrganizationalUnitOutput = exports.getOrganizationalUnit = exports.getAccountOutput = exports.getAccount = exports.Account = void 0;
|
|
20
20
|
const pulumi = require("@pulumi/pulumi");
|
|
21
21
|
const utilities = require("../utilities");
|
|
22
22
|
exports.Account = null;
|
|
@@ -30,10 +30,15 @@ utilities.lazyLoad(exports, ["getOrganizationalUnit", "getOrganizationalUnitOutp
|
|
|
30
30
|
exports.getPolicy = null;
|
|
31
31
|
exports.getPolicyOutput = null;
|
|
32
32
|
utilities.lazyLoad(exports, ["getPolicy", "getPolicyOutput"], () => require("./getPolicy"));
|
|
33
|
+
exports.getResourcePolicy = null;
|
|
34
|
+
exports.getResourcePolicyOutput = null;
|
|
35
|
+
utilities.lazyLoad(exports, ["getResourcePolicy", "getResourcePolicyOutput"], () => require("./getResourcePolicy"));
|
|
33
36
|
exports.OrganizationalUnit = null;
|
|
34
37
|
utilities.lazyLoad(exports, ["OrganizationalUnit"], () => require("./organizationalUnit"));
|
|
35
38
|
exports.Policy = null;
|
|
36
39
|
utilities.lazyLoad(exports, ["Policy"], () => require("./policy"));
|
|
40
|
+
exports.ResourcePolicy = null;
|
|
41
|
+
utilities.lazyLoad(exports, ["ResourcePolicy"], () => require("./resourcePolicy"));
|
|
37
42
|
// Export enums:
|
|
38
43
|
__exportStar(require("../types/enums/organizations"), exports);
|
|
39
44
|
const _module = {
|
|
@@ -46,6 +51,8 @@ const _module = {
|
|
|
46
51
|
return new exports.OrganizationalUnit(name, undefined, { urn });
|
|
47
52
|
case "aws-native:organizations:Policy":
|
|
48
53
|
return new exports.Policy(name, undefined, { urn });
|
|
54
|
+
case "aws-native:organizations:ResourcePolicy":
|
|
55
|
+
return new exports.ResourcePolicy(name, undefined, { urn });
|
|
49
56
|
default:
|
|
50
57
|
throw new Error(`unknown resource type ${type}`);
|
|
51
58
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../organizations/index.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;;;;;;;;;;;;;;;AAEjF,yCAAyC;AACzC,0CAA0C;AA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CAAC,CAAC,CAAC;AAGnF,gBAAgB;AAChB,+DAA6C;AAE7C,MAAM,OAAO,GAAG;IACZ,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,SAAS,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAAmB,EAAE;QACpE,QAAQ,IAAI,EAAE;YACV,KAAK,kCAAkC;gBACnC,OAAO,IAAI,eAAO,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACrD,KAAK,6CAA6C;gBAC9C,OAAO,IAAI,0BAAkB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAChE,KAAK,iCAAiC;gBAClC,OAAO,IAAI,cAAM,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACpD,KAAK,yCAAyC;gBAC1C,OAAO,IAAI,sBAAc,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC5D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,eAAe,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* You can use AWS::Organizations::ResourcePolicy to delegate policy management for AWS Organizations to specified member accounts to perform policy actions that are by default available only to the management account.
|
|
6
|
+
*/
|
|
7
|
+
export declare class ResourcePolicy extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing ResourcePolicy resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
15
|
+
*/
|
|
16
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ResourcePolicy;
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of ResourcePolicy. This is designed to work even
|
|
19
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
20
|
+
*/
|
|
21
|
+
static isInstance(obj: any): obj is ResourcePolicy;
|
|
22
|
+
/**
|
|
23
|
+
* The Amazon Resource Name (ARN) of the resource policy.
|
|
24
|
+
*/
|
|
25
|
+
readonly arn: pulumi.Output<string>;
|
|
26
|
+
/**
|
|
27
|
+
* The policy document. For AWS CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. AWS CloudFormation always converts a YAML policy to JSON format before submitting it.
|
|
28
|
+
*/
|
|
29
|
+
readonly content: pulumi.Output<any>;
|
|
30
|
+
/**
|
|
31
|
+
* A list of tags that you want to attach to the resource policy
|
|
32
|
+
*/
|
|
33
|
+
readonly tags: pulumi.Output<outputs.organizations.ResourcePolicyTag[] | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* Create a ResourcePolicy resource with the given unique name, arguments, and options.
|
|
36
|
+
*
|
|
37
|
+
* @param name The _unique_ name of the resource.
|
|
38
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
39
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
40
|
+
*/
|
|
41
|
+
constructor(name: string, args: ResourcePolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* The set of arguments for constructing a ResourcePolicy resource.
|
|
45
|
+
*/
|
|
46
|
+
export interface ResourcePolicyArgs {
|
|
47
|
+
/**
|
|
48
|
+
* The policy document. For AWS CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. AWS CloudFormation always converts a YAML policy to JSON format before submitting it.
|
|
49
|
+
*/
|
|
50
|
+
content: any;
|
|
51
|
+
/**
|
|
52
|
+
* A list of tags that you want to attach to the resource policy
|
|
53
|
+
*/
|
|
54
|
+
tags?: pulumi.Input<pulumi.Input<inputs.organizations.ResourcePolicyTagArgs>[]>;
|
|
55
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.ResourcePolicy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* You can use AWS::Organizations::ResourcePolicy to delegate policy management for AWS Organizations to specified member accounts to perform policy actions that are by default available only to the management account.
|
|
10
|
+
*/
|
|
11
|
+
class ResourcePolicy extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing ResourcePolicy resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
19
|
+
*/
|
|
20
|
+
static get(name, id, opts) {
|
|
21
|
+
return new ResourcePolicy(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of ResourcePolicy. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj) {
|
|
28
|
+
if (obj === undefined || obj === null) {
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
return obj['__pulumiType'] === ResourcePolicy.__pulumiType;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Create a ResourcePolicy resource with the given unique name, arguments, and options.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resource.
|
|
37
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
38
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
39
|
+
*/
|
|
40
|
+
constructor(name, args, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (!opts.id) {
|
|
44
|
+
if ((!args || args.content === undefined) && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'content'");
|
|
46
|
+
}
|
|
47
|
+
resourceInputs["content"] = args ? args.content : undefined;
|
|
48
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
49
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
50
|
+
}
|
|
51
|
+
else {
|
|
52
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
53
|
+
resourceInputs["content"] = undefined /*out*/;
|
|
54
|
+
resourceInputs["tags"] = undefined /*out*/;
|
|
55
|
+
}
|
|
56
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
57
|
+
super(ResourcePolicy.__pulumiType, name, resourceInputs, opts);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
exports.ResourcePolicy = ResourcePolicy;
|
|
61
|
+
/** @internal */
|
|
62
|
+
ResourcePolicy.__pulumiType = 'aws-native:organizations:ResourcePolicy';
|
|
63
|
+
//# sourceMappingURL=resourcePolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resourcePolicy.js","sourceRoot":"","sources":["../../organizations/resourcePolicy.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;O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IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAhEL,wCAiEC;AApDG,gBAAgB;AACO,2BAAY,GAAG,yCAAyC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/aws-native",
|
|
3
|
-
"version": "v0.
|
|
3
|
+
"version": "v0.51.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"pulumi",
|
|
6
6
|
"aws",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"scripts": {
|
|
15
15
|
"build": "tsc",
|
|
16
|
-
"install": "node scripts/install-pulumi-plugin.js resource aws-native v0.
|
|
16
|
+
"install": "node scripts/install-pulumi-plugin.js resource aws-native v0.51.0"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@pulumi/pulumi": "^3.0.0",
|
package/package.json.dev
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/aws-native",
|
|
3
|
-
"version": "v0.
|
|
3
|
+
"version": "v0.51.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"pulumi",
|
|
6
6
|
"aws",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"license": "Apache-2.0",
|
|
14
14
|
"scripts": {
|
|
15
15
|
"build": "tsc",
|
|
16
|
-
"install": "node scripts/install-pulumi-plugin.js resource aws-native v0.
|
|
16
|
+
"install": "node scripts/install-pulumi-plugin.js resource aws-native v0.51.0"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@pulumi/pulumi": "^3.0.0",
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
import * as enums from "../types/enums";
|
|
5
|
+
/**
|
|
6
|
+
* Resource schema for AWS::SystemsManagerSAP::Application
|
|
7
|
+
*/
|
|
8
|
+
export declare class Application extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing Application resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
+
*/
|
|
17
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Application;
|
|
18
|
+
/**
|
|
19
|
+
* Returns true if the given object is an instance of Application. This is designed to work even
|
|
20
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
21
|
+
*/
|
|
22
|
+
static isInstance(obj: any): obj is Application;
|
|
23
|
+
readonly applicationId: pulumi.Output<string>;
|
|
24
|
+
readonly applicationType: pulumi.Output<enums.systemsmanagersap.ApplicationType>;
|
|
25
|
+
/**
|
|
26
|
+
* The ARN of the Helix application
|
|
27
|
+
*/
|
|
28
|
+
readonly arn: pulumi.Output<string>;
|
|
29
|
+
readonly credentials: pulumi.Output<outputs.systemsmanagersap.ApplicationCredential[] | undefined>;
|
|
30
|
+
readonly instances: pulumi.Output<string[] | undefined>;
|
|
31
|
+
readonly sapInstanceNumber: pulumi.Output<string | undefined>;
|
|
32
|
+
readonly sid: pulumi.Output<string | undefined>;
|
|
33
|
+
/**
|
|
34
|
+
* The tags of a SystemsManagerSAP application.
|
|
35
|
+
*/
|
|
36
|
+
readonly tags: pulumi.Output<outputs.systemsmanagersap.ApplicationTag[] | undefined>;
|
|
37
|
+
/**
|
|
38
|
+
* Create a Application resource with the given unique name, arguments, and options.
|
|
39
|
+
*
|
|
40
|
+
* @param name The _unique_ name of the resource.
|
|
41
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
42
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
43
|
+
*/
|
|
44
|
+
constructor(name: string, args: ApplicationArgs, opts?: pulumi.CustomResourceOptions);
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* The set of arguments for constructing a Application resource.
|
|
48
|
+
*/
|
|
49
|
+
export interface ApplicationArgs {
|
|
50
|
+
applicationId: pulumi.Input<string>;
|
|
51
|
+
applicationType: pulumi.Input<enums.systemsmanagersap.ApplicationType>;
|
|
52
|
+
credentials?: pulumi.Input<pulumi.Input<inputs.systemsmanagersap.ApplicationCredentialArgs>[]>;
|
|
53
|
+
instances?: pulumi.Input<pulumi.Input<string>[]>;
|
|
54
|
+
sapInstanceNumber?: pulumi.Input<string>;
|
|
55
|
+
sid?: pulumi.Input<string>;
|
|
56
|
+
/**
|
|
57
|
+
* The tags of a SystemsManagerSAP application.
|
|
58
|
+
*/
|
|
59
|
+
tags?: pulumi.Input<pulumi.Input<inputs.systemsmanagersap.ApplicationTagArgs>[]>;
|
|
60
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Application = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Resource schema for AWS::SystemsManagerSAP::Application
|
|
10
|
+
*/
|
|
11
|
+
class Application extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing Application resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
19
|
+
*/
|
|
20
|
+
static get(name, id, opts) {
|
|
21
|
+
return new Application(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of Application. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj) {
|
|
28
|
+
if (obj === undefined || obj === null) {
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
return obj['__pulumiType'] === Application.__pulumiType;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Create a Application resource with the given unique name, arguments, and options.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resource.
|
|
37
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
38
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
39
|
+
*/
|
|
40
|
+
constructor(name, args, opts) {
|
|
41
|
+
let resourceInputs = {};
|
|
42
|
+
opts = opts || {};
|
|
43
|
+
if (!opts.id) {
|
|
44
|
+
if ((!args || args.applicationId === undefined) && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'applicationId'");
|
|
46
|
+
}
|
|
47
|
+
if ((!args || args.applicationType === undefined) && !opts.urn) {
|
|
48
|
+
throw new Error("Missing required property 'applicationType'");
|
|
49
|
+
}
|
|
50
|
+
resourceInputs["applicationId"] = args ? args.applicationId : undefined;
|
|
51
|
+
resourceInputs["applicationType"] = args ? args.applicationType : undefined;
|
|
52
|
+
resourceInputs["credentials"] = args ? args.credentials : undefined;
|
|
53
|
+
resourceInputs["instances"] = args ? args.instances : undefined;
|
|
54
|
+
resourceInputs["sapInstanceNumber"] = args ? args.sapInstanceNumber : undefined;
|
|
55
|
+
resourceInputs["sid"] = args ? args.sid : undefined;
|
|
56
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
57
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
resourceInputs["applicationId"] = undefined /*out*/;
|
|
61
|
+
resourceInputs["applicationType"] = undefined /*out*/;
|
|
62
|
+
resourceInputs["arn"] = undefined /*out*/;
|
|
63
|
+
resourceInputs["credentials"] = undefined /*out*/;
|
|
64
|
+
resourceInputs["instances"] = undefined /*out*/;
|
|
65
|
+
resourceInputs["sapInstanceNumber"] = undefined /*out*/;
|
|
66
|
+
resourceInputs["sid"] = undefined /*out*/;
|
|
67
|
+
resourceInputs["tags"] = undefined /*out*/;
|
|
68
|
+
}
|
|
69
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
70
|
+
super(Application.__pulumiType, name, resourceInputs, opts);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
exports.Application = Application;
|
|
74
|
+
/** @internal */
|
|
75
|
+
Application.__pulumiType = 'aws-native:systemsmanagersap:Application';
|
|
76
|
+
//# sourceMappingURL=application.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"application.js","sourceRoot":"","sources":["../../systemsmanagersap/application.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;Y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