Skip to content

Commit

Permalink
Allow multiple values in Resource.DependsOn
Browse files Browse the repository at this point in the history
  • Loading branch information
adambar committed Nov 23, 2017
1 parent 779b3a1 commit 25ccd11
Show file tree
Hide file tree
Showing 461 changed files with 1,356 additions and 1,356 deletions.
2 changes: 1 addition & 1 deletion dist/types/apiGateway/account.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ export interface AccountProperties {
CloudWatchRoleArn?: Value<string>;
}
export default class Account extends ResourceBase {
constructor(properties: AccountProperties, dependsOn?: Value<string>);
constructor(properties: AccountProperties, dependsOn?: Value<string> | Value<string>[]);
}
4 changes: 2 additions & 2 deletions dist/types/apiGateway/apiKey.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export interface StageKeyProperties {
StageName?: Value<string>;
}
export declare class StageKey extends ResourceBase {
constructor(properties: StageKeyProperties, dependsOn?: Value<string>);
constructor(properties: StageKeyProperties, dependsOn?: Value<string> | Value<string>[]);
}
export interface ApiKeyProperties {
CustomerId?: Value<string>;
Expand All @@ -16,5 +16,5 @@ export interface ApiKeyProperties {
StageKeys?: StageKey[];
}
export default class ApiKey extends ResourceBase {
constructor(properties: ApiKeyProperties, dependsOn?: Value<string>);
constructor(properties: ApiKeyProperties, dependsOn?: Value<string> | Value<string>[]);
}
2 changes: 1 addition & 1 deletion dist/types/apiGateway/authorizer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ export interface AuthorizerProperties {
Type?: Value<string>;
}
export default class Authorizer extends ResourceBase {
constructor(properties: AuthorizerProperties, dependsOn?: Value<string>);
constructor(properties: AuthorizerProperties, dependsOn?: Value<string> | Value<string>[]);
}
2 changes: 1 addition & 1 deletion dist/types/apiGateway/basePathMapping.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ export interface BasePathMappingProperties {
Stage?: Value<string>;
}
export default class BasePathMapping extends ResourceBase {
constructor(properties: BasePathMappingProperties, dependsOn?: Value<string>);
constructor(properties: BasePathMappingProperties, dependsOn?: Value<string> | Value<string>[]);
}
2 changes: 1 addition & 1 deletion dist/types/apiGateway/clientCertificate.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ export interface ClientCertificateProperties {
Description?: Value<string>;
}
export default class ClientCertificate extends ResourceBase {
constructor(properties: ClientCertificateProperties, dependsOn?: Value<string>);
constructor(properties: ClientCertificateProperties, dependsOn?: Value<string> | Value<string>[]);
}
6 changes: 3 additions & 3 deletions dist/types/apiGateway/deployment.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export interface MethodSettingProperties {
ThrottlingRateLimit?: Value<number>;
}
export declare class MethodSetting extends ResourceBase {
constructor(properties: MethodSettingProperties, dependsOn?: Value<string>);
constructor(properties: MethodSettingProperties, dependsOn?: Value<string> | Value<string>[]);
}
export interface StageDescriptionProperties {
CacheClusterEnabled?: Value<boolean>;
Expand All @@ -35,7 +35,7 @@ export interface StageDescriptionProperties {
};
}
export declare class StageDescription extends ResourceBase {
constructor(properties: StageDescriptionProperties, dependsOn?: Value<string>);
constructor(properties: StageDescriptionProperties, dependsOn?: Value<string> | Value<string>[]);
}
export interface DeploymentProperties {
Description?: Value<string>;
Expand All @@ -44,5 +44,5 @@ export interface DeploymentProperties {
StageName?: Value<string>;
}
export default class Deployment extends ResourceBase {
constructor(properties: DeploymentProperties, dependsOn?: Value<string>);
constructor(properties: DeploymentProperties, dependsOn?: Value<string> | Value<string>[]);
}
4 changes: 2 additions & 2 deletions dist/types/apiGateway/documentationPart.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ export interface LocationProperties {
Type?: Value<string>;
}
export declare class Location extends ResourceBase {
constructor(properties: LocationProperties, dependsOn?: Value<string>);
constructor(properties: LocationProperties, dependsOn?: Value<string> | Value<string>[]);
}
export interface DocumentationPartProperties {
Location: Location;
Properties: Value<string>;
RestApiId: Value<string>;
}
export default class DocumentationPart extends ResourceBase {
constructor(properties: DocumentationPartProperties, dependsOn?: Value<string>);
constructor(properties: DocumentationPartProperties, dependsOn?: Value<string> | Value<string>[]);
}
2 changes: 1 addition & 1 deletion dist/types/apiGateway/documentationVersion.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ export interface DocumentationVersionProperties {
RestApiId: Value<string>;
}
export default class DocumentationVersion extends ResourceBase {
constructor(properties: DocumentationVersionProperties, dependsOn?: Value<string>);
constructor(properties: DocumentationVersionProperties, dependsOn?: Value<string> | Value<string>[]);
}
4 changes: 2 additions & 2 deletions dist/types/apiGateway/domainName.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export interface EndpointConfigurationProperties {
Types?: Value<string>[];
}
export declare class EndpointConfiguration extends ResourceBase {
constructor(properties: EndpointConfigurationProperties, dependsOn?: Value<string>);
constructor(properties: EndpointConfigurationProperties, dependsOn?: Value<string> | Value<string>[]);
}
export interface DomainNameProperties {
CertificateArn?: Value<string>;
Expand All @@ -13,5 +13,5 @@ export interface DomainNameProperties {
RegionalCertificateArn?: Value<string>;
}
export default class DomainName extends ResourceBase {
constructor(properties: DomainNameProperties, dependsOn?: Value<string>);
constructor(properties: DomainNameProperties, dependsOn?: Value<string> | Value<string>[]);
}
2 changes: 1 addition & 1 deletion dist/types/apiGateway/gatewayResponse.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ export interface GatewayResponseProperties {
StatusCode?: Value<string>;
}
export default class GatewayResponse extends ResourceBase {
constructor(properties: GatewayResponseProperties, dependsOn?: Value<string>);
constructor(properties: GatewayResponseProperties, dependsOn?: Value<string> | Value<string>[]);
}
8 changes: 4 additions & 4 deletions dist/types/apiGateway/method.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export interface MethodResponseProperties {
StatusCode: Value<string>;
}
export declare class MethodResponse extends ResourceBase {
constructor(properties: MethodResponseProperties, dependsOn?: Value<string>);
constructor(properties: MethodResponseProperties, dependsOn?: Value<string> | Value<string>[]);
}
export interface IntegrationProperties {
CacheKeyParameters?: Value<string>[];
Expand All @@ -30,7 +30,7 @@ export interface IntegrationProperties {
Uri?: Value<string>;
}
export declare class Integration extends ResourceBase {
constructor(properties: IntegrationProperties, dependsOn?: Value<string>);
constructor(properties: IntegrationProperties, dependsOn?: Value<string> | Value<string>[]);
}
export interface IntegrationResponseProperties {
ContentHandling?: Value<string>;
Expand All @@ -44,7 +44,7 @@ export interface IntegrationResponseProperties {
StatusCode: Value<string>;
}
export declare class IntegrationResponse extends ResourceBase {
constructor(properties: IntegrationResponseProperties, dependsOn?: Value<string>);
constructor(properties: IntegrationResponseProperties, dependsOn?: Value<string> | Value<string>[]);
}
export interface MethodProperties {
ApiKeyRequired?: Value<boolean>;
Expand All @@ -65,5 +65,5 @@ export interface MethodProperties {
RestApiId: Value<string>;
}
export default class Method extends ResourceBase {
constructor(properties: MethodProperties, dependsOn?: Value<string>);
constructor(properties: MethodProperties, dependsOn?: Value<string> | Value<string>[]);
}
2 changes: 1 addition & 1 deletion dist/types/apiGateway/model.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@ export interface ModelProperties {
Schema?: any;
}
export default class Model extends ResourceBase {
constructor(properties: ModelProperties, dependsOn?: Value<string>);
constructor(properties: ModelProperties, dependsOn?: Value<string> | Value<string>[]);
}
2 changes: 1 addition & 1 deletion dist/types/apiGateway/requestValidator.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ export interface RequestValidatorProperties {
ValidateRequestParameters?: Value<boolean>;
}
export default class RequestValidator extends ResourceBase {
constructor(properties: RequestValidatorProperties, dependsOn?: Value<string>);
constructor(properties: RequestValidatorProperties, dependsOn?: Value<string> | Value<string>[]);
}
2 changes: 1 addition & 1 deletion dist/types/apiGateway/resource.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ export interface ResourceProperties {
RestApiId: Value<string>;
}
export default class Resource extends ResourceBase {
constructor(properties: ResourceProperties, dependsOn?: Value<string>);
constructor(properties: ResourceProperties, dependsOn?: Value<string> | Value<string>[]);
}
6 changes: 3 additions & 3 deletions dist/types/apiGateway/restApi.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ export interface S3LocationProperties {
Version?: Value<string>;
}
export declare class S3Location extends ResourceBase {
constructor(properties: S3LocationProperties, dependsOn?: Value<string>);
constructor(properties: S3LocationProperties, dependsOn?: Value<string> | Value<string>[]);
}
export interface EndpointConfigurationProperties {
Types?: Value<string>[];
}
export declare class EndpointConfiguration extends ResourceBase {
constructor(properties: EndpointConfigurationProperties, dependsOn?: Value<string>);
constructor(properties: EndpointConfigurationProperties, dependsOn?: Value<string> | Value<string>[]);
}
export interface RestApiProperties {
BinaryMediaTypes?: Value<string>[];
Expand All @@ -30,5 +30,5 @@ export interface RestApiProperties {
};
}
export default class RestApi extends ResourceBase {
constructor(properties: RestApiProperties, dependsOn?: Value<string>);
constructor(properties: RestApiProperties, dependsOn?: Value<string> | Value<string>[]);
}
4 changes: 2 additions & 2 deletions dist/types/apiGateway/stage.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export interface MethodSettingProperties {
ThrottlingRateLimit?: Value<number>;
}
export declare class MethodSetting extends ResourceBase {
constructor(properties: MethodSettingProperties, dependsOn?: Value<string>);
constructor(properties: MethodSettingProperties, dependsOn?: Value<string> | Value<string>[]);
}
export interface StageProperties {
CacheClusterEnabled?: Value<boolean>;
Expand All @@ -30,5 +30,5 @@ export interface StageProperties {
};
}
export default class Stage extends ResourceBase {
constructor(properties: StageProperties, dependsOn?: Value<string>);
constructor(properties: StageProperties, dependsOn?: Value<string> | Value<string>[]);
}
8 changes: 4 additions & 4 deletions dist/types/apiGateway/usagePlan.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,22 @@ export interface ApiStageProperties {
Stage?: Value<string>;
}
export declare class ApiStage extends ResourceBase {
constructor(properties: ApiStageProperties, dependsOn?: Value<string>);
constructor(properties: ApiStageProperties, dependsOn?: Value<string> | Value<string>[]);
}
export interface ThrottleSettingsProperties {
BurstLimit?: Value<number>;
RateLimit?: Value<number>;
}
export declare class ThrottleSettings extends ResourceBase {
constructor(properties: ThrottleSettingsProperties, dependsOn?: Value<string>);
constructor(properties: ThrottleSettingsProperties, dependsOn?: Value<string> | Value<string>[]);
}
export interface QuotaSettingsProperties {
Limit?: Value<number>;
Offset?: Value<number>;
Period?: Value<string>;
}
export declare class QuotaSettings extends ResourceBase {
constructor(properties: QuotaSettingsProperties, dependsOn?: Value<string>);
constructor(properties: QuotaSettingsProperties, dependsOn?: Value<string> | Value<string>[]);
}
export interface UsagePlanProperties {
ApiStages?: ApiStage[];
Expand All @@ -30,5 +30,5 @@ export interface UsagePlanProperties {
UsagePlanName?: Value<string>;
}
export default class UsagePlan extends ResourceBase {
constructor(properties: UsagePlanProperties, dependsOn?: Value<string>);
constructor(properties: UsagePlanProperties, dependsOn?: Value<string> | Value<string>[]);
}
2 changes: 1 addition & 1 deletion dist/types/apiGateway/usagePlanKey.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ export interface UsagePlanKeyProperties {
UsagePlanId: Value<string>;
}
export default class UsagePlanKey extends ResourceBase {
constructor(properties: UsagePlanKeyProperties, dependsOn?: Value<string>);
constructor(properties: UsagePlanKeyProperties, dependsOn?: Value<string> | Value<string>[]);
}
6 changes: 3 additions & 3 deletions dist/types/applicationAutoScaling/scalableTarget.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ export interface ScheduledActionProperties {
StartTime?: Value<string>;
}
export declare class ScheduledAction extends ResourceBase {
constructor(properties: ScheduledActionProperties, dependsOn?: Value<string>);
constructor(properties: ScheduledActionProperties, dependsOn?: Value<string> | Value<string>[]);
}
export interface ScalableTargetActionProperties {
MaxCapacity?: Value<number>;
MinCapacity?: Value<number>;
}
export declare class ScalableTargetAction extends ResourceBase {
constructor(properties: ScalableTargetActionProperties, dependsOn?: Value<string>);
constructor(properties: ScalableTargetActionProperties, dependsOn?: Value<string> | Value<string>[]);
}
export interface ScalableTargetProperties {
MaxCapacity: Value<number>;
Expand All @@ -27,5 +27,5 @@ export interface ScalableTargetProperties {
ServiceNamespace: Value<string>;
}
export default class ScalableTarget extends ResourceBase {
constructor(properties: ScalableTargetProperties, dependsOn?: Value<string>);
constructor(properties: ScalableTargetProperties, dependsOn?: Value<string> | Value<string>[]);
}
14 changes: 7 additions & 7 deletions dist/types/applicationAutoScaling/scalingPolicy.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,29 @@ export interface StepScalingPolicyConfigurationProperties {
StepAdjustments?: StepAdjustment[];
}
export declare class StepScalingPolicyConfiguration extends ResourceBase {
constructor(properties: StepScalingPolicyConfigurationProperties, dependsOn?: Value<string>);
constructor(properties: StepScalingPolicyConfigurationProperties, dependsOn?: Value<string> | Value<string>[]);
}
export interface MetricDimensionProperties {
Name: Value<string>;
Value: Value<string>;
}
export declare class MetricDimension extends ResourceBase {
constructor(properties: MetricDimensionProperties, dependsOn?: Value<string>);
constructor(properties: MetricDimensionProperties, dependsOn?: Value<string> | Value<string>[]);
}
export interface StepAdjustmentProperties {
MetricIntervalLowerBound?: Value<number>;
MetricIntervalUpperBound?: Value<number>;
ScalingAdjustment: Value<number>;
}
export declare class StepAdjustment extends ResourceBase {
constructor(properties: StepAdjustmentProperties, dependsOn?: Value<string>);
constructor(properties: StepAdjustmentProperties, dependsOn?: Value<string> | Value<string>[]);
}
export interface PredefinedMetricSpecificationProperties {
PredefinedMetricType: Value<string>;
ResourceLabel?: Value<string>;
}
export declare class PredefinedMetricSpecification extends ResourceBase {
constructor(properties: PredefinedMetricSpecificationProperties, dependsOn?: Value<string>);
constructor(properties: PredefinedMetricSpecificationProperties, dependsOn?: Value<string> | Value<string>[]);
}
export interface CustomizedMetricSpecificationProperties {
Dimensions?: MetricDimension[];
Expand All @@ -40,7 +40,7 @@ export interface CustomizedMetricSpecificationProperties {
Unit?: Value<string>;
}
export declare class CustomizedMetricSpecification extends ResourceBase {
constructor(properties: CustomizedMetricSpecificationProperties, dependsOn?: Value<string>);
constructor(properties: CustomizedMetricSpecificationProperties, dependsOn?: Value<string> | Value<string>[]);
}
export interface TargetTrackingScalingPolicyConfigurationProperties {
CustomizedMetricSpecification?: CustomizedMetricSpecification;
Expand All @@ -50,7 +50,7 @@ export interface TargetTrackingScalingPolicyConfigurationProperties {
TargetValue: Value<number>;
}
export declare class TargetTrackingScalingPolicyConfiguration extends ResourceBase {
constructor(properties: TargetTrackingScalingPolicyConfigurationProperties, dependsOn?: Value<string>);
constructor(properties: TargetTrackingScalingPolicyConfigurationProperties, dependsOn?: Value<string> | Value<string>[]);
}
export interface ScalingPolicyProperties {
PolicyName: Value<string>;
Expand All @@ -63,5 +63,5 @@ export interface ScalingPolicyProperties {
TargetTrackingScalingPolicyConfiguration?: TargetTrackingScalingPolicyConfiguration;
}
export default class ScalingPolicy extends ResourceBase {
constructor(properties: ScalingPolicyProperties, dependsOn?: Value<string>);
constructor(properties: ScalingPolicyProperties, dependsOn?: Value<string> | Value<string>[]);
}
2 changes: 1 addition & 1 deletion dist/types/athena/namedQuery.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ export interface NamedQueryProperties {
Name?: Value<string>;
}
export default class NamedQuery extends ResourceBase {
constructor(properties: NamedQueryProperties, dependsOn?: Value<string>);
constructor(properties: NamedQueryProperties, dependsOn?: Value<string> | Value<string>[]);
}
10 changes: 5 additions & 5 deletions dist/types/autoScaling/autoScalingGroup.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,29 @@ export interface LifecycleHookSpecificationProperties {
RoleARN?: Value<string>;
}
export declare class LifecycleHookSpecification extends ResourceBase {
constructor(properties: LifecycleHookSpecificationProperties, dependsOn?: Value<string>);
constructor(properties: LifecycleHookSpecificationProperties, dependsOn?: Value<string> | Value<string>[]);
}
export interface NotificationConfigurationProperties {
NotificationTypes?: Value<string>[];
TopicARN: Value<string>;
}
export declare class NotificationConfiguration extends ResourceBase {
constructor(properties: NotificationConfigurationProperties, dependsOn?: Value<string>);
constructor(properties: NotificationConfigurationProperties, dependsOn?: Value<string> | Value<string>[]);
}
export interface MetricsCollectionProperties {
Granularity: Value<string>;
Metrics?: Value<string>[];
}
export declare class MetricsCollection extends ResourceBase {
constructor(properties: MetricsCollectionProperties, dependsOn?: Value<string>);
constructor(properties: MetricsCollectionProperties, dependsOn?: Value<string> | Value<string>[]);
}
export interface TagPropertyProperties {
Key: Value<string>;
PropagateAtLaunch: Value<boolean>;
Value: Value<string>;
}
export declare class TagProperty extends ResourceBase {
constructor(properties: TagPropertyProperties, dependsOn?: Value<string>);
constructor(properties: TagPropertyProperties, dependsOn?: Value<string> | Value<string>[]);
}
export interface AutoScalingGroupProperties {
AvailabilityZones?: Value<string>[];
Expand All @@ -55,5 +55,5 @@ export interface AutoScalingGroupProperties {
VPCZoneIdentifier?: Value<string>[];
}
export default class AutoScalingGroup extends ResourceBase {
constructor(properties: AutoScalingGroupProperties, dependsOn?: Value<string>);
constructor(properties: AutoScalingGroupProperties, dependsOn?: Value<string> | Value<string>[]);
}
Loading

0 comments on commit 25ccd11

Please sign in to comment.