@pulumi/aws-native 0.86.0 → 0.87.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/accessanalyzer/analyzer.d.ts +10 -2
- package/accessanalyzer/analyzer.js +3 -1
- package/accessanalyzer/analyzer.js.map +1 -1
- package/codestarconnections/getRepositoryLink.d.ts +48 -0
- package/codestarconnections/getRepositoryLink.js +25 -0
- package/codestarconnections/getRepositoryLink.js.map +1 -0
- package/codestarconnections/getSyncConfiguration.d.ts +59 -0
- package/codestarconnections/getSyncConfiguration.js +26 -0
- package/codestarconnections/getSyncConfiguration.js.map +1 -0
- package/codestarconnections/index.d.ts +12 -0
- package/codestarconnections/index.js +15 -1
- package/codestarconnections/index.js.map +1 -1
- package/codestarconnections/repositoryLink.d.ts +87 -0
- package/codestarconnections/repositoryLink.js +81 -0
- package/codestarconnections/repositoryLink.js.map +1 -0
- package/codestarconnections/syncConfiguration.d.ts +93 -0
- package/codestarconnections/syncConfiguration.js +92 -0
- package/codestarconnections/syncConfiguration.js.map +1 -0
- package/controltower/enabledControl.d.ts +10 -0
- package/controltower/enabledControl.js +2 -0
- package/controltower/enabledControl.js.map +1 -1
- package/controltower/getEnabledControl.d.ts +36 -0
- package/controltower/getEnabledControl.js +26 -0
- package/controltower/getEnabledControl.js.map +1 -0
- package/controltower/getLandingZone.d.ts +27 -0
- package/controltower/getLandingZone.js +25 -0
- package/controltower/getLandingZone.js.map +1 -0
- package/controltower/index.d.ts +10 -0
- package/controltower/index.js +27 -1
- package/controltower/index.js.map +1 -1
- package/controltower/landingZone.d.ts +47 -0
- package/controltower/landingZone.js +76 -0
- package/controltower/landingZone.js.map +1 -0
- package/ec2/getTransitGateway.d.ts +1 -0
- package/ec2/getTransitGateway.js.map +1 -1
- package/ec2/getTransitGatewayVpcAttachment.d.ts +0 -2
- package/ec2/getTransitGatewayVpcAttachment.js.map +1 -1
- package/ec2/transitGateway.d.ts +1 -0
- package/ec2/transitGateway.js +2 -0
- package/ec2/transitGateway.js.map +1 -1
- package/eks/getPodIdentityAssociation.d.ts +40 -0
- package/eks/getPodIdentityAssociation.js +25 -0
- package/eks/getPodIdentityAssociation.js.map +1 -0
- package/eks/index.d.ts +6 -0
- package/eks/index.js +8 -1
- package/eks/index.js.map +1 -1
- package/eks/podIdentityAssociation.d.ts +83 -0
- package/eks/podIdentityAssociation.js +82 -0
- package/eks/podIdentityAssociation.js.map +1 -0
- package/elasticloadbalancingv2/getListener.d.ts +1 -0
- package/elasticloadbalancingv2/getListener.js.map +1 -1
- package/elasticloadbalancingv2/getTrustStore.d.ts +40 -0
- package/elasticloadbalancingv2/getTrustStore.js +25 -0
- package/elasticloadbalancingv2/getTrustStore.js.map +1 -0
- package/elasticloadbalancingv2/getTrustStoreRevocation.d.ts +40 -0
- package/elasticloadbalancingv2/getTrustStoreRevocation.js +26 -0
- package/elasticloadbalancingv2/getTrustStoreRevocation.js.map +1 -0
- package/elasticloadbalancingv2/index.d.ts +12 -0
- package/elasticloadbalancingv2/index.js +15 -1
- package/elasticloadbalancingv2/index.js.map +1 -1
- package/elasticloadbalancingv2/listener.d.ts +2 -0
- package/elasticloadbalancingv2/listener.js +2 -0
- package/elasticloadbalancingv2/listener.js.map +1 -1
- package/elasticloadbalancingv2/trustStore.d.ts +87 -0
- package/elasticloadbalancingv2/trustStore.js +72 -0
- package/elasticloadbalancingv2/trustStore.js.map +1 -0
- package/elasticloadbalancingv2/trustStoreRevocation.d.ts +59 -0
- package/elasticloadbalancingv2/trustStoreRevocation.js +64 -0
- package/elasticloadbalancingv2/trustStoreRevocation.js.map +1 -0
- package/iottwinmaker/componentType.d.ts +8 -0
- package/iottwinmaker/componentType.js +2 -0
- package/iottwinmaker/componentType.js.map +1 -1
- package/iottwinmaker/entity.d.ts +8 -0
- package/iottwinmaker/entity.js +2 -0
- package/iottwinmaker/entity.js.map +1 -1
- package/iottwinmaker/getComponentType.d.ts +4 -0
- package/iottwinmaker/getComponentType.js.map +1 -1
- package/iottwinmaker/getEntity.d.ts +4 -0
- package/iottwinmaker/getEntity.js.map +1 -1
- package/logs/delivery.d.ts +71 -0
- package/logs/delivery.js +74 -0
- package/logs/delivery.js.map +1 -0
- package/logs/deliveryDestination.d.ts +67 -0
- package/logs/deliveryDestination.js +66 -0
- package/logs/deliveryDestination.js.map +1 -0
- package/logs/deliverySource.d.ts +79 -0
- package/logs/deliverySource.js +70 -0
- package/logs/deliverySource.js.map +1 -0
- package/logs/getDelivery.d.ts +40 -0
- package/logs/getDelivery.js +25 -0
- package/logs/getDelivery.js.map +1 -0
- package/logs/getDeliveryDestination.d.ts +36 -0
- package/logs/getDeliveryDestination.js +25 -0
- package/logs/getDeliveryDestination.js.map +1 -0
- package/logs/getDeliverySource.d.ts +44 -0
- package/logs/getDeliverySource.js +25 -0
- package/logs/getDeliverySource.js.map +1 -0
- package/logs/getLogAnomalyDetector.d.ts +58 -0
- package/logs/getLogAnomalyDetector.js +25 -0
- package/logs/getLogAnomalyDetector.js.map +1 -0
- package/logs/getLogGroup.d.ts +5 -0
- package/logs/getLogGroup.js.map +1 -1
- package/logs/index.d.ts +24 -0
- package/logs/index.js +29 -1
- package/logs/index.js.map +1 -1
- package/logs/logAnomalyDetector.d.ts +94 -0
- package/logs/logAnomalyDetector.js +76 -0
- package/logs/logAnomalyDetector.js.map +1 -0
- package/logs/logGroup.d.ts +9 -0
- package/logs/logGroup.js +2 -0
- package/logs/logGroup.js.map +1 -1
- package/managedblockchain/accessor.d.ts +2 -0
- package/managedblockchain/accessor.js +3 -1
- package/managedblockchain/accessor.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/s3/accessGrant.d.ts +98 -0
- package/s3/accessGrant.js +85 -0
- package/s3/accessGrant.js.map +1 -0
- package/s3/accessGrantsInstance.d.ts +53 -0
- package/s3/accessGrantsInstance.js +64 -0
- package/s3/accessGrantsInstance.js.map +1 -0
- package/s3/accessGrantsLocation.d.ts +61 -0
- package/s3/accessGrantsLocation.js +66 -0
- package/s3/accessGrantsLocation.js.map +1 -0
- package/s3/getAccessGrant.d.ts +57 -0
- package/s3/getAccessGrant.js +25 -0
- package/s3/getAccessGrant.js.map +1 -0
- package/s3/getAccessGrantsInstance.d.ts +35 -0
- package/s3/getAccessGrantsInstance.js +25 -0
- package/s3/getAccessGrantsInstance.js.map +1 -0
- package/s3/getAccessGrantsLocation.d.ts +39 -0
- package/s3/getAccessGrantsLocation.js +25 -0
- package/s3/getAccessGrantsLocation.js.map +1 -0
- package/s3/index.d.ts +18 -0
- package/s3/index.js +22 -1
- package/s3/index.js.map +1 -1
- package/types/enums/connect/index.d.ts +1 -0
- package/types/enums/connect/index.js +1 -0
- package/types/enums/connect/index.js.map +1 -1
- package/types/enums/controltower/index.d.ts +11 -0
- package/types/enums/controltower/index.js +15 -0
- package/types/enums/controltower/index.js.map +1 -0
- package/types/enums/index.d.ts +2 -1
- package/types/enums/index.js +5 -3
- package/types/enums/index.js.map +1 -1
- package/types/enums/logs/index.d.ts +19 -0
- package/types/enums/logs/index.js +12 -1
- package/types/enums/logs/index.js.map +1 -1
- package/types/enums/managedblockchain/index.d.ts +8 -0
- package/types/enums/managedblockchain/index.js +8 -1
- package/types/enums/managedblockchain/index.js.map +1 -1
- package/types/enums/s3/index.d.ts +25 -0
- package/types/enums/s3/index.js +14 -1
- package/types/enums/s3/index.js.map +1 -1
- package/types/input.d.ts +134 -0
- package/types/output.d.ts +140 -0
|
@@ -19,6 +19,10 @@ export declare class Analyzer extends pulumi.CustomResource {
|
|
|
19
19
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
20
20
|
*/
|
|
21
21
|
static isInstance(obj: any): obj is Analyzer;
|
|
22
|
+
/**
|
|
23
|
+
* The configuration for the analyzer
|
|
24
|
+
*/
|
|
25
|
+
readonly analyzerConfiguration: pulumi.Output<outputs.accessanalyzer.AnalyzerConfigurationProperties | undefined>;
|
|
22
26
|
/**
|
|
23
27
|
* Analyzer name
|
|
24
28
|
*/
|
|
@@ -33,7 +37,7 @@ export declare class Analyzer extends pulumi.CustomResource {
|
|
|
33
37
|
*/
|
|
34
38
|
readonly tags: pulumi.Output<outputs.accessanalyzer.AnalyzerTag[] | undefined>;
|
|
35
39
|
/**
|
|
36
|
-
* The type of the analyzer, must be one of ACCOUNT, ORGANIZATION
|
|
40
|
+
* The type of the analyzer, must be one of ACCOUNT, ORGANIZATION, ACCOUNT_UNUSED_ACCESS or ORGANIZATION_UNUSED_ACCESS
|
|
37
41
|
*/
|
|
38
42
|
readonly type: pulumi.Output<string>;
|
|
39
43
|
/**
|
|
@@ -49,6 +53,10 @@ export declare class Analyzer extends pulumi.CustomResource {
|
|
|
49
53
|
* The set of arguments for constructing a Analyzer resource.
|
|
50
54
|
*/
|
|
51
55
|
export interface AnalyzerArgs {
|
|
56
|
+
/**
|
|
57
|
+
* The configuration for the analyzer
|
|
58
|
+
*/
|
|
59
|
+
analyzerConfiguration?: pulumi.Input<inputs.accessanalyzer.AnalyzerConfigurationPropertiesArgs>;
|
|
52
60
|
/**
|
|
53
61
|
* Analyzer name
|
|
54
62
|
*/
|
|
@@ -59,7 +67,7 @@ export interface AnalyzerArgs {
|
|
|
59
67
|
*/
|
|
60
68
|
tags?: pulumi.Input<pulumi.Input<inputs.accessanalyzer.AnalyzerTagArgs>[]>;
|
|
61
69
|
/**
|
|
62
|
-
* The type of the analyzer, must be one of ACCOUNT, ORGANIZATION
|
|
70
|
+
* The type of the analyzer, must be one of ACCOUNT, ORGANIZATION, ACCOUNT_UNUSED_ACCESS or ORGANIZATION_UNUSED_ACCESS
|
|
63
71
|
*/
|
|
64
72
|
type: pulumi.Input<string>;
|
|
65
73
|
}
|
|
@@ -44,6 +44,7 @@ class Analyzer extends pulumi.CustomResource {
|
|
|
44
44
|
if ((!args || args.type === undefined) && !opts.urn) {
|
|
45
45
|
throw new Error("Missing required property 'type'");
|
|
46
46
|
}
|
|
47
|
+
resourceInputs["analyzerConfiguration"] = args ? args.analyzerConfiguration : undefined;
|
|
47
48
|
resourceInputs["analyzerName"] = args ? args.analyzerName : undefined;
|
|
48
49
|
resourceInputs["archiveRules"] = args ? args.archiveRules : undefined;
|
|
49
50
|
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
@@ -51,6 +52,7 @@ class Analyzer extends pulumi.CustomResource {
|
|
|
51
52
|
resourceInputs["arn"] = undefined /*out*/;
|
|
52
53
|
}
|
|
53
54
|
else {
|
|
55
|
+
resourceInputs["analyzerConfiguration"] = undefined /*out*/;
|
|
54
56
|
resourceInputs["analyzerName"] = undefined /*out*/;
|
|
55
57
|
resourceInputs["archiveRules"] = undefined /*out*/;
|
|
56
58
|
resourceInputs["arn"] = undefined /*out*/;
|
|
@@ -58,7 +60,7 @@ class Analyzer extends pulumi.CustomResource {
|
|
|
58
60
|
resourceInputs["type"] = undefined /*out*/;
|
|
59
61
|
}
|
|
60
62
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
61
|
-
const replaceOnChanges = { replaceOnChanges: ["analyzerName", "type"] };
|
|
63
|
+
const replaceOnChanges = { replaceOnChanges: ["analyzerConfiguration", "analyzerName", "type"] };
|
|
62
64
|
opts = pulumi.mergeOptions(opts, replaceOnChanges);
|
|
63
65
|
super(Analyzer.__pulumiType, name, resourceInputs, opts);
|
|
64
66
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analyzer.js","sourceRoot":"","sources":["../../accessanalyzer/analyzer.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,CAAC;IAK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,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAjFL,4BAkFC;AArEG,gBAAgB;AACO,qBAAY,GAAG,oCAAoC,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "../types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Schema for AWS::CodeStarConnections::RepositoryLink resource which is used to aggregate repository metadata relevant to synchronizing source provider content to AWS Resources.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getRepositoryLink(args: GetRepositoryLinkArgs, opts?: pulumi.InvokeOptions): Promise<GetRepositoryLinkResult>;
|
|
7
|
+
export interface GetRepositoryLinkArgs {
|
|
8
|
+
/**
|
|
9
|
+
* A unique Amazon Resource Name (ARN) to designate the repository link.
|
|
10
|
+
*/
|
|
11
|
+
repositoryLinkArn: string;
|
|
12
|
+
}
|
|
13
|
+
export interface GetRepositoryLinkResult {
|
|
14
|
+
/**
|
|
15
|
+
* The Amazon Resource Name (ARN) of the CodeStarConnection. The ARN is used as the connection reference when the connection is shared between AWS services.
|
|
16
|
+
*/
|
|
17
|
+
readonly connectionArn?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The ARN of the KMS key that the customer can optionally specify to use to encrypt RepositoryLink properties. If not specified, a default key will be used.
|
|
20
|
+
*/
|
|
21
|
+
readonly encryptionKeyArn?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The name of the external provider where your third-party code repository is configured.
|
|
24
|
+
*/
|
|
25
|
+
readonly providerType?: string;
|
|
26
|
+
/**
|
|
27
|
+
* A unique Amazon Resource Name (ARN) to designate the repository link.
|
|
28
|
+
*/
|
|
29
|
+
readonly repositoryLinkArn?: string;
|
|
30
|
+
/**
|
|
31
|
+
* A UUID that uniquely identifies the RepositoryLink.
|
|
32
|
+
*/
|
|
33
|
+
readonly repositoryLinkId?: string;
|
|
34
|
+
/**
|
|
35
|
+
* Specifies the tags applied to a RepositoryLink.
|
|
36
|
+
*/
|
|
37
|
+
readonly tags?: outputs.codestarconnections.RepositoryLinkTag[];
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Schema for AWS::CodeStarConnections::RepositoryLink resource which is used to aggregate repository metadata relevant to synchronizing source provider content to AWS Resources.
|
|
41
|
+
*/
|
|
42
|
+
export declare function getRepositoryLinkOutput(args: GetRepositoryLinkOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetRepositoryLinkResult>;
|
|
43
|
+
export interface GetRepositoryLinkOutputArgs {
|
|
44
|
+
/**
|
|
45
|
+
* A unique Amazon Resource Name (ARN) to designate the repository link.
|
|
46
|
+
*/
|
|
47
|
+
repositoryLinkArn: pulumi.Input<string>;
|
|
48
|
+
}
|
|
@@ -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.getRepositoryLinkOutput = exports.getRepositoryLink = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Schema for AWS::CodeStarConnections::RepositoryLink resource which is used to aggregate repository metadata relevant to synchronizing source provider content to AWS Resources.
|
|
10
|
+
*/
|
|
11
|
+
function getRepositoryLink(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("aws-native:codestarconnections:getRepositoryLink", {
|
|
14
|
+
"repositoryLinkArn": args.repositoryLinkArn,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.getRepositoryLink = getRepositoryLink;
|
|
18
|
+
/**
|
|
19
|
+
* Schema for AWS::CodeStarConnections::RepositoryLink resource which is used to aggregate repository metadata relevant to synchronizing source provider content to AWS Resources.
|
|
20
|
+
*/
|
|
21
|
+
function getRepositoryLinkOutput(args, opts) {
|
|
22
|
+
return pulumi.output(args).apply((a) => getRepositoryLink(a, opts));
|
|
23
|
+
}
|
|
24
|
+
exports.getRepositoryLinkOutput = getRepositoryLinkOutput;
|
|
25
|
+
//# sourceMappingURL=getRepositoryLink.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getRepositoryLink.js","sourceRoot":"","sources":["../../codestarconnections/getRepositoryLink.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,kDAAkD,EAAE;QAC7E,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;KAC9C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8CAMC;AAmCD;;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"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Schema for AWS::CodeStarConnections::SyncConfiguration resource which is used to enables an AWS resource to be synchronized from a source-provider.
|
|
4
|
+
*/
|
|
5
|
+
export declare function getSyncConfiguration(args: GetSyncConfigurationArgs, opts?: pulumi.InvokeOptions): Promise<GetSyncConfigurationResult>;
|
|
6
|
+
export interface GetSyncConfigurationArgs {
|
|
7
|
+
/**
|
|
8
|
+
* The name of the resource that is being synchronized to the repository.
|
|
9
|
+
*/
|
|
10
|
+
resourceName: string;
|
|
11
|
+
/**
|
|
12
|
+
* The type of resource synchronization service that is to be configured, for example, CFN_STACK_SYNC.
|
|
13
|
+
*/
|
|
14
|
+
syncType: string;
|
|
15
|
+
}
|
|
16
|
+
export interface GetSyncConfigurationResult {
|
|
17
|
+
/**
|
|
18
|
+
* The name of the branch of the repository from which resources are to be synchronized,
|
|
19
|
+
*/
|
|
20
|
+
readonly branch?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The source provider repository path of the sync configuration file of the respective SyncType.
|
|
23
|
+
*/
|
|
24
|
+
readonly configFile?: string;
|
|
25
|
+
/**
|
|
26
|
+
* the ID of the entity that owns the repository.
|
|
27
|
+
*/
|
|
28
|
+
readonly ownerId?: string;
|
|
29
|
+
/**
|
|
30
|
+
* The name of the external provider where your third-party code repository is configured.
|
|
31
|
+
*/
|
|
32
|
+
readonly providerType?: string;
|
|
33
|
+
/**
|
|
34
|
+
* A UUID that uniquely identifies the RepositoryLink that the SyncConfig is associated with.
|
|
35
|
+
*/
|
|
36
|
+
readonly repositoryLinkId?: string;
|
|
37
|
+
/**
|
|
38
|
+
* The name of the repository that is being synced to.
|
|
39
|
+
*/
|
|
40
|
+
readonly repositoryName?: string;
|
|
41
|
+
/**
|
|
42
|
+
* The IAM Role that allows AWS to update CloudFormation stacks based on content in the specified repository.
|
|
43
|
+
*/
|
|
44
|
+
readonly roleArn?: string;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Schema for AWS::CodeStarConnections::SyncConfiguration resource which is used to enables an AWS resource to be synchronized from a source-provider.
|
|
48
|
+
*/
|
|
49
|
+
export declare function getSyncConfigurationOutput(args: GetSyncConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSyncConfigurationResult>;
|
|
50
|
+
export interface GetSyncConfigurationOutputArgs {
|
|
51
|
+
/**
|
|
52
|
+
* The name of the resource that is being synchronized to the repository.
|
|
53
|
+
*/
|
|
54
|
+
resourceName: pulumi.Input<string>;
|
|
55
|
+
/**
|
|
56
|
+
* The type of resource synchronization service that is to be configured, for example, CFN_STACK_SYNC.
|
|
57
|
+
*/
|
|
58
|
+
syncType: pulumi.Input<string>;
|
|
59
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
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.getSyncConfigurationOutput = exports.getSyncConfiguration = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Schema for AWS::CodeStarConnections::SyncConfiguration resource which is used to enables an AWS resource to be synchronized from a source-provider.
|
|
10
|
+
*/
|
|
11
|
+
function getSyncConfiguration(args, opts) {
|
|
12
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
13
|
+
return pulumi.runtime.invoke("aws-native:codestarconnections:getSyncConfiguration", {
|
|
14
|
+
"resourceName": args.resourceName,
|
|
15
|
+
"syncType": args.syncType,
|
|
16
|
+
}, opts);
|
|
17
|
+
}
|
|
18
|
+
exports.getSyncConfiguration = getSyncConfiguration;
|
|
19
|
+
/**
|
|
20
|
+
* Schema for AWS::CodeStarConnections::SyncConfiguration resource which is used to enables an AWS resource to be synchronized from a source-provider.
|
|
21
|
+
*/
|
|
22
|
+
function getSyncConfigurationOutput(args, opts) {
|
|
23
|
+
return pulumi.output(args).apply((a) => getSyncConfiguration(a, opts));
|
|
24
|
+
}
|
|
25
|
+
exports.getSyncConfigurationOutput = getSyncConfigurationOutput;
|
|
26
|
+
//# sourceMappingURL=getSyncConfiguration.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSyncConfiguration.js","sourceRoot":"","sources":["../../codestarconnections/getSyncConfiguration.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAE1C;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAE5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qDAAqD,EAAE;QAChF,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oDAOC;AA2CD;;GAEG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,oBAAoB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/E,CAAC;AAFD,gEAEC"}
|
|
@@ -4,3 +4,15 @@ export declare const Connection: typeof import("./connection").Connection;
|
|
|
4
4
|
export { GetConnectionArgs, GetConnectionResult, GetConnectionOutputArgs } from "./getConnection";
|
|
5
5
|
export declare const getConnection: typeof import("./getConnection").getConnection;
|
|
6
6
|
export declare const getConnectionOutput: typeof import("./getConnection").getConnectionOutput;
|
|
7
|
+
export { GetRepositoryLinkArgs, GetRepositoryLinkResult, GetRepositoryLinkOutputArgs } from "./getRepositoryLink";
|
|
8
|
+
export declare const getRepositoryLink: typeof import("./getRepositoryLink").getRepositoryLink;
|
|
9
|
+
export declare const getRepositoryLinkOutput: typeof import("./getRepositoryLink").getRepositoryLinkOutput;
|
|
10
|
+
export { GetSyncConfigurationArgs, GetSyncConfigurationResult, GetSyncConfigurationOutputArgs } from "./getSyncConfiguration";
|
|
11
|
+
export declare const getSyncConfiguration: typeof import("./getSyncConfiguration").getSyncConfiguration;
|
|
12
|
+
export declare const getSyncConfigurationOutput: typeof import("./getSyncConfiguration").getSyncConfigurationOutput;
|
|
13
|
+
export { RepositoryLinkArgs } from "./repositoryLink";
|
|
14
|
+
export type RepositoryLink = import("./repositoryLink").RepositoryLink;
|
|
15
|
+
export declare const RepositoryLink: typeof import("./repositoryLink").RepositoryLink;
|
|
16
|
+
export { SyncConfigurationArgs } from "./syncConfiguration";
|
|
17
|
+
export type SyncConfiguration = import("./syncConfiguration").SyncConfiguration;
|
|
18
|
+
export declare const SyncConfiguration: typeof import("./syncConfiguration").SyncConfiguration;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.getConnectionOutput = exports.getConnection = exports.Connection = void 0;
|
|
5
|
+
exports.SyncConfiguration = exports.RepositoryLink = exports.getSyncConfigurationOutput = exports.getSyncConfiguration = exports.getRepositoryLinkOutput = exports.getRepositoryLink = exports.getConnectionOutput = exports.getConnection = exports.Connection = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("../utilities");
|
|
8
8
|
exports.Connection = null;
|
|
@@ -10,12 +10,26 @@ utilities.lazyLoad(exports, ["Connection"], () => require("./connection"));
|
|
|
10
10
|
exports.getConnection = null;
|
|
11
11
|
exports.getConnectionOutput = null;
|
|
12
12
|
utilities.lazyLoad(exports, ["getConnection", "getConnectionOutput"], () => require("./getConnection"));
|
|
13
|
+
exports.getRepositoryLink = null;
|
|
14
|
+
exports.getRepositoryLinkOutput = null;
|
|
15
|
+
utilities.lazyLoad(exports, ["getRepositoryLink", "getRepositoryLinkOutput"], () => require("./getRepositoryLink"));
|
|
16
|
+
exports.getSyncConfiguration = null;
|
|
17
|
+
exports.getSyncConfigurationOutput = null;
|
|
18
|
+
utilities.lazyLoad(exports, ["getSyncConfiguration", "getSyncConfigurationOutput"], () => require("./getSyncConfiguration"));
|
|
19
|
+
exports.RepositoryLink = null;
|
|
20
|
+
utilities.lazyLoad(exports, ["RepositoryLink"], () => require("./repositoryLink"));
|
|
21
|
+
exports.SyncConfiguration = null;
|
|
22
|
+
utilities.lazyLoad(exports, ["SyncConfiguration"], () => require("./syncConfiguration"));
|
|
13
23
|
const _module = {
|
|
14
24
|
version: utilities.getVersion(),
|
|
15
25
|
construct: (name, type, urn) => {
|
|
16
26
|
switch (type) {
|
|
17
27
|
case "aws-native:codestarconnections:Connection":
|
|
18
28
|
return new exports.Connection(name, undefined, { urn });
|
|
29
|
+
case "aws-native:codestarconnections:RepositoryLink":
|
|
30
|
+
return new exports.RepositoryLink(name, undefined, { urn });
|
|
31
|
+
case "aws-native:codestarconnections:SyncConfiguration":
|
|
32
|
+
return new exports.SyncConfiguration(name, undefined, { urn });
|
|
19
33
|
default:
|
|
20
34
|
throw new Error(`unknown resource type ${type}`);
|
|
21
35
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../codestarconnections/index.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AACzC,0CAA0C;AAK7B,QAAA,UAAU,GAA6C,IAAW,CAAC;AAChF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAG9D,QAAA,aAAa,GAAmD,IAAW,CAAC;AAC5E,QAAA,mBAAmB,GAAyD,IAAW,CAAC;AACrG,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,eAAe,EAAC,qBAAqB,CAAC,EAAE,GAAG,E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,QAAQ,CAAC,OAAO,EAAE,CAAC,mBAAmB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAC;AAGzF,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,2CAA2C;gBAC5C,OAAO,IAAI,kBAAU,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YACxD,KAAK,+CAA+C;gBAChD,OAAO,IAAI,sBAAc,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC5D,KAAK,kDAAkD;gBACnD,OAAO,IAAI,yBAAiB,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC/D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,YAAY,EAAE,qBAAqB,EAAE,OAAO,CAAC,CAAA"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "../types/input";
|
|
3
|
+
import * as outputs from "../types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Schema for AWS::CodeStarConnections::RepositoryLink resource which is used to aggregate repository metadata relevant to synchronizing source provider content to AWS Resources.
|
|
6
|
+
*/
|
|
7
|
+
export declare class RepositoryLink extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing RepositoryLink 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): RepositoryLink;
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of RepositoryLink. 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 RepositoryLink;
|
|
22
|
+
/**
|
|
23
|
+
* The Amazon Resource Name (ARN) of the CodeStarConnection. The ARN is used as the connection reference when the connection is shared between AWS services.
|
|
24
|
+
*/
|
|
25
|
+
readonly connectionArn: pulumi.Output<string>;
|
|
26
|
+
/**
|
|
27
|
+
* The ARN of the KMS key that the customer can optionally specify to use to encrypt RepositoryLink properties. If not specified, a default key will be used.
|
|
28
|
+
*/
|
|
29
|
+
readonly encryptionKeyArn: pulumi.Output<string | undefined>;
|
|
30
|
+
/**
|
|
31
|
+
* the ID of the entity that owns the repository.
|
|
32
|
+
*/
|
|
33
|
+
readonly ownerId: pulumi.Output<string>;
|
|
34
|
+
/**
|
|
35
|
+
* The name of the external provider where your third-party code repository is configured.
|
|
36
|
+
*/
|
|
37
|
+
readonly providerType: pulumi.Output<string>;
|
|
38
|
+
/**
|
|
39
|
+
* A unique Amazon Resource Name (ARN) to designate the repository link.
|
|
40
|
+
*/
|
|
41
|
+
readonly repositoryLinkArn: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* A UUID that uniquely identifies the RepositoryLink.
|
|
44
|
+
*/
|
|
45
|
+
readonly repositoryLinkId: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* The repository for which the link is being created.
|
|
48
|
+
*/
|
|
49
|
+
readonly repositoryName: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* Specifies the tags applied to a RepositoryLink.
|
|
52
|
+
*/
|
|
53
|
+
readonly tags: pulumi.Output<outputs.codestarconnections.RepositoryLinkTag[] | undefined>;
|
|
54
|
+
/**
|
|
55
|
+
* Create a RepositoryLink resource with the given unique name, arguments, and options.
|
|
56
|
+
*
|
|
57
|
+
* @param name The _unique_ name of the resource.
|
|
58
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
59
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
60
|
+
*/
|
|
61
|
+
constructor(name: string, args: RepositoryLinkArgs, opts?: pulumi.CustomResourceOptions);
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* The set of arguments for constructing a RepositoryLink resource.
|
|
65
|
+
*/
|
|
66
|
+
export interface RepositoryLinkArgs {
|
|
67
|
+
/**
|
|
68
|
+
* The Amazon Resource Name (ARN) of the CodeStarConnection. The ARN is used as the connection reference when the connection is shared between AWS services.
|
|
69
|
+
*/
|
|
70
|
+
connectionArn: pulumi.Input<string>;
|
|
71
|
+
/**
|
|
72
|
+
* The ARN of the KMS key that the customer can optionally specify to use to encrypt RepositoryLink properties. If not specified, a default key will be used.
|
|
73
|
+
*/
|
|
74
|
+
encryptionKeyArn?: pulumi.Input<string>;
|
|
75
|
+
/**
|
|
76
|
+
* the ID of the entity that owns the repository.
|
|
77
|
+
*/
|
|
78
|
+
ownerId: pulumi.Input<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The repository for which the link is being created.
|
|
81
|
+
*/
|
|
82
|
+
repositoryName: pulumi.Input<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Specifies the tags applied to a RepositoryLink.
|
|
85
|
+
*/
|
|
86
|
+
tags?: pulumi.Input<pulumi.Input<inputs.codestarconnections.RepositoryLinkTagArgs>[]>;
|
|
87
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
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.RepositoryLink = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("../utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Schema for AWS::CodeStarConnections::RepositoryLink resource which is used to aggregate repository metadata relevant to synchronizing source provider content to AWS Resources.
|
|
10
|
+
*/
|
|
11
|
+
class RepositoryLink extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing RepositoryLink 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 RepositoryLink(name, undefined, Object.assign(Object.assign({}, opts), { id: id }));
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of RepositoryLink. 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'] === RepositoryLink.__pulumiType;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Create a RepositoryLink 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.connectionArn === undefined) && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'connectionArn'");
|
|
46
|
+
}
|
|
47
|
+
if ((!args || args.ownerId === undefined) && !opts.urn) {
|
|
48
|
+
throw new Error("Missing required property 'ownerId'");
|
|
49
|
+
}
|
|
50
|
+
if ((!args || args.repositoryName === undefined) && !opts.urn) {
|
|
51
|
+
throw new Error("Missing required property 'repositoryName'");
|
|
52
|
+
}
|
|
53
|
+
resourceInputs["connectionArn"] = args ? args.connectionArn : undefined;
|
|
54
|
+
resourceInputs["encryptionKeyArn"] = args ? args.encryptionKeyArn : undefined;
|
|
55
|
+
resourceInputs["ownerId"] = args ? args.ownerId : undefined;
|
|
56
|
+
resourceInputs["repositoryName"] = args ? args.repositoryName : undefined;
|
|
57
|
+
resourceInputs["tags"] = args ? args.tags : undefined;
|
|
58
|
+
resourceInputs["providerType"] = undefined /*out*/;
|
|
59
|
+
resourceInputs["repositoryLinkArn"] = undefined /*out*/;
|
|
60
|
+
resourceInputs["repositoryLinkId"] = undefined /*out*/;
|
|
61
|
+
}
|
|
62
|
+
else {
|
|
63
|
+
resourceInputs["connectionArn"] = undefined /*out*/;
|
|
64
|
+
resourceInputs["encryptionKeyArn"] = undefined /*out*/;
|
|
65
|
+
resourceInputs["ownerId"] = undefined /*out*/;
|
|
66
|
+
resourceInputs["providerType"] = undefined /*out*/;
|
|
67
|
+
resourceInputs["repositoryLinkArn"] = undefined /*out*/;
|
|
68
|
+
resourceInputs["repositoryLinkId"] = undefined /*out*/;
|
|
69
|
+
resourceInputs["repositoryName"] = undefined /*out*/;
|
|
70
|
+
resourceInputs["tags"] = undefined /*out*/;
|
|
71
|
+
}
|
|
72
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
73
|
+
const replaceOnChanges = { replaceOnChanges: ["ownerId", "repositoryName"] };
|
|
74
|
+
opts = pulumi.mergeOptions(opts, replaceOnChanges);
|
|
75
|
+
super(RepositoryLink.__pulumiType, name, resourceInputs, opts);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
exports.RepositoryLink = RepositoryLink;
|
|
79
|
+
/** @internal */
|
|
80
|
+
RepositoryLink.__pulumiType = 'aws-native:codestarconnections:RepositoryLink';
|
|
81
|
+
//# sourceMappingURL=repositoryLink.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"repositoryLink.js","sourceRoot":"","sources":["../../codestarconnections/repositoryLink.ts"],"names":[],"mappings":";AAAA,wEAAwE;AACxE,iFAAiF;;;AAEjF,yCAAyC;AAIzC,0CAA0C;AAE1C;;GAEG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,cAAc,CAAC,IAAI,EAAE,SAAgB,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3E,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IAmCD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAwB,EAAE,IAAmC;QACnF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,aAAa,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1D,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;aAChE;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,OAAO,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAA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YACnD,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,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,SAAS,EAAE,gBAAgB,CAAC,EAAE,CAAC;QAC7E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAtGL,wCAuGC;AA1FG,gBAAgB;AACO,2BAAY,GAAG,+CAA+C,CAAC"}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Schema for AWS::CodeStarConnections::SyncConfiguration resource which is used to enables an AWS resource to be synchronized from a source-provider.
|
|
4
|
+
*/
|
|
5
|
+
export declare class SyncConfiguration extends pulumi.CustomResource {
|
|
6
|
+
/**
|
|
7
|
+
* Get an existing SyncConfiguration resource's state with the given name, ID, and optional extra
|
|
8
|
+
* properties used to qualify the lookup.
|
|
9
|
+
*
|
|
10
|
+
* @param name The _unique_ name of the resulting resource.
|
|
11
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): SyncConfiguration;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of SyncConfiguration. This is designed to work even
|
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
|
+
*/
|
|
19
|
+
static isInstance(obj: any): obj is SyncConfiguration;
|
|
20
|
+
/**
|
|
21
|
+
* The name of the branch of the repository from which resources are to be synchronized,
|
|
22
|
+
*/
|
|
23
|
+
readonly branch: pulumi.Output<string>;
|
|
24
|
+
/**
|
|
25
|
+
* The source provider repository path of the sync configuration file of the respective SyncType.
|
|
26
|
+
*/
|
|
27
|
+
readonly configFile: pulumi.Output<string>;
|
|
28
|
+
/**
|
|
29
|
+
* the ID of the entity that owns the repository.
|
|
30
|
+
*/
|
|
31
|
+
readonly ownerId: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* The name of the external provider where your third-party code repository is configured.
|
|
34
|
+
*/
|
|
35
|
+
readonly providerType: pulumi.Output<string>;
|
|
36
|
+
/**
|
|
37
|
+
* A UUID that uniquely identifies the RepositoryLink that the SyncConfig is associated with.
|
|
38
|
+
*/
|
|
39
|
+
readonly repositoryLinkId: pulumi.Output<string>;
|
|
40
|
+
/**
|
|
41
|
+
* The name of the repository that is being synced to.
|
|
42
|
+
*/
|
|
43
|
+
readonly repositoryName: pulumi.Output<string>;
|
|
44
|
+
/**
|
|
45
|
+
* The name of the resource that is being synchronized to the repository.
|
|
46
|
+
*/
|
|
47
|
+
readonly resourceName: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* The IAM Role that allows AWS to update CloudFormation stacks based on content in the specified repository.
|
|
50
|
+
*/
|
|
51
|
+
readonly roleArn: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* The type of resource synchronization service that is to be configured, for example, CFN_STACK_SYNC.
|
|
54
|
+
*/
|
|
55
|
+
readonly syncType: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* Create a SyncConfiguration resource with the given unique name, arguments, and options.
|
|
58
|
+
*
|
|
59
|
+
* @param name The _unique_ name of the resource.
|
|
60
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
61
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
62
|
+
*/
|
|
63
|
+
constructor(name: string, args: SyncConfigurationArgs, opts?: pulumi.CustomResourceOptions);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* The set of arguments for constructing a SyncConfiguration resource.
|
|
67
|
+
*/
|
|
68
|
+
export interface SyncConfigurationArgs {
|
|
69
|
+
/**
|
|
70
|
+
* The name of the branch of the repository from which resources are to be synchronized,
|
|
71
|
+
*/
|
|
72
|
+
branch: pulumi.Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The source provider repository path of the sync configuration file of the respective SyncType.
|
|
75
|
+
*/
|
|
76
|
+
configFile: pulumi.Input<string>;
|
|
77
|
+
/**
|
|
78
|
+
* A UUID that uniquely identifies the RepositoryLink that the SyncConfig is associated with.
|
|
79
|
+
*/
|
|
80
|
+
repositoryLinkId: pulumi.Input<string>;
|
|
81
|
+
/**
|
|
82
|
+
* The name of the resource that is being synchronized to the repository.
|
|
83
|
+
*/
|
|
84
|
+
resourceName: pulumi.Input<string>;
|
|
85
|
+
/**
|
|
86
|
+
* The IAM Role that allows AWS to update CloudFormation stacks based on content in the specified repository.
|
|
87
|
+
*/
|
|
88
|
+
roleArn: pulumi.Input<string>;
|
|
89
|
+
/**
|
|
90
|
+
* The type of resource synchronization service that is to be configured, for example, CFN_STACK_SYNC.
|
|
91
|
+
*/
|
|
92
|
+
syncType: pulumi.Input<string>;
|
|
93
|
+
}
|