Skip to content

Commit 8ee4427

Browse files
chore: update analytics metadata blueprints
1 parent e1764f4 commit 8ee4427

File tree

295 files changed

+1619
-26
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

295 files changed

+1619
-26
lines changed

packages/@aws-cdk/aws-amplify-alpha/lib/app.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { Branch, BranchOptions } from './branch';
88
import { Domain, DomainOptions } from './domain';
99
import { renderEnvironmentVariables } from './utils';
1010
import { addConstructMetadata, MethodMetadata } from 'aws-cdk-lib/core/lib/metadata-resource';
11+
import { propertyInjectable } from 'aws-cdk-lib/core/lib/prop-injectable';
1112

1213
/**
1314
* An Amplify Console application
@@ -180,7 +181,11 @@ export interface AppProps {
180181
/**
181182
* An Amplify Console application
182183
*/
184+
@propertyInjectable
183185
export class App extends Resource implements IApp, iam.IGrantable {
186+
/** Uniquely identifies this class. */
187+
public static readonly PROPERTY_INJECTION_ID: string = '@aws-cdk.aws-amplify-alpha.App';
188+
184189
/**
185190
* Import an existing application
186191
*/

packages/@aws-cdk/aws-amplify-alpha/lib/branch.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import { BasicAuth } from './basic-auth';
1818
import { renderEnvironmentVariables } from './utils';
1919
import { AssetDeploymentIsCompleteFunction, AssetDeploymentOnEventFunction } from '../custom-resource-handlers/dist/aws-amplify-alpha/asset-deployment-provider.generated';
2020
import { addConstructMetadata, MethodMetadata } from 'aws-cdk-lib/core/lib/metadata-resource';
21+
import { propertyInjectable } from 'aws-cdk-lib/core/lib/prop-injectable';
2122

2223
/**
2324
* A branch
@@ -139,7 +140,11 @@ export interface BranchProps extends BranchOptions {
139140
/**
140141
* An Amplify Console branch
141142
*/
143+
@propertyInjectable
142144
export class Branch extends Resource implements IBranch {
145+
/** Uniquely identifies this class. */
146+
public static readonly PROPERTY_INJECTION_ID: string = '@aws-cdk.aws-amplify-alpha.Branch';
147+
143148
/**
144149
* Import an existing branch
145150
*/

packages/@aws-cdk/aws-amplify-alpha/lib/domain.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { CfnDomain } from 'aws-cdk-lib/aws-amplify';
66
import { IApp } from './app';
77
import { IBranch } from './branch';
88
import { addConstructMetadata, MethodMetadata } from 'aws-cdk-lib/core/lib/metadata-resource';
9+
import { propertyInjectable } from 'aws-cdk-lib/core/lib/prop-injectable';
910

1011
/**
1112
* Options to add a domain to an application
@@ -66,7 +67,10 @@ export interface DomainProps extends DomainOptions {
6667
/**
6768
* An Amplify Console domain
6869
*/
70+
@propertyInjectable
6971
export class Domain extends Resource {
72+
/** Uniquely identifies this class. */
73+
public static readonly PROPERTY_INJECTION_ID: string = '@aws-cdk.aws-amplify-alpha.Domain';
7074
/**
7175
* The ARN of the domain
7276
*

packages/@aws-cdk/aws-apprunner-alpha/lib/auto-scaling-configuration.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import * as cdk from 'aws-cdk-lib/core';
22
import { Construct } from 'constructs';
33
import { CfnAutoScalingConfiguration } from 'aws-cdk-lib/aws-apprunner';
44
import { addConstructMetadata } from 'aws-cdk-lib/core/lib/metadata-resource';
5+
import { propertyInjectable } from 'aws-cdk-lib/core/lib/prop-injectable';
56

67
/**
78
* Properties of the App Runner Auto Scaling Configuration.
@@ -89,7 +90,11 @@ export interface IAutoScalingConfiguration extends cdk.IResource {
8990
*
9091
* @resource AWS::AppRunner::AutoScalingConfiguration
9192
*/
93+
@propertyInjectable
9294
export class AutoScalingConfiguration extends cdk.Resource implements IAutoScalingConfiguration {
95+
/** Uniquely identifies this class. */
96+
public static readonly PROPERTY_INJECTION_ID: string = '@aws-cdk.aws-apprunner-alpha.AutoScalingConfiguration';
97+
9398
/**
9499
* Imports an App Runner Auto Scaling Configuration from attributes
95100
*/

packages/@aws-cdk/aws-apprunner-alpha/lib/observability-configuration.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import * as cdk from 'aws-cdk-lib/core';
22
import { Construct } from 'constructs';
33
import { CfnObservabilityConfiguration } from 'aws-cdk-lib/aws-apprunner';
44
import { addConstructMetadata } from 'aws-cdk-lib/core/lib/metadata-resource';
5+
import { propertyInjectable } from 'aws-cdk-lib/core/lib/prop-injectable';
56

67
/**
78
* The implementation provider chosen for tracing App Runner services
@@ -75,7 +76,11 @@ export interface IObservabilityConfiguration extends cdk.IResource {
7576
*
7677
* @resource AWS::AppRunner::ObservabilityConfiguration
7778
*/
79+
@propertyInjectable
7880
export class ObservabilityConfiguration extends cdk.Resource implements IObservabilityConfiguration {
81+
/** Uniquely identifies this class. */
82+
public static readonly PROPERTY_INJECTION_ID: string = '@aws-cdk.aws-apprunner-alpha.ObservabilityConfiguration';
83+
7984
/**
8085
* Imports an App Runner Observability Configuration from attributes.
8186
*/

packages/@aws-cdk/aws-apprunner-alpha/lib/service.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import { IVpcConnector } from './vpc-connector';
1212
import { IAutoScalingConfiguration } from './auto-scaling-configuration';
1313
import { IObservabilityConfiguration } from './observability-configuration';
1414
import { addConstructMetadata, MethodMetadata } from 'aws-cdk-lib/core/lib/metadata-resource';
15+
import { propertyInjectable } from 'aws-cdk-lib/core/lib/prop-injectable';
1516

1617
/**
1718
* The image repository types
@@ -1179,7 +1180,11 @@ export abstract class Secret {
11791180
/**
11801181
* The App Runner Service.
11811182
*/
1183+
@propertyInjectable
11821184
export class Service extends cdk.Resource implements IService, iam.IGrantable {
1185+
/** Uniquely identifies this class. */
1186+
public static readonly PROPERTY_INJECTION_ID: string = '@aws-cdk.aws-apprunner-alpha.Service';
1187+
11831188
/**
11841189
* Import from service name.
11851190
*/

packages/@aws-cdk/aws-apprunner-alpha/lib/vpc-connector.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import * as cdk from 'aws-cdk-lib/core';
44
import { Construct } from 'constructs';
55
import { CfnVpcConnector } from 'aws-cdk-lib/aws-apprunner';
66
import { addConstructMetadata } from 'aws-cdk-lib/core/lib/metadata-resource';
7+
import { propertyInjectable } from 'aws-cdk-lib/core/lib/prop-injectable';
78

89
/**
910
* Properties of the AppRunner VPC Connector
@@ -89,7 +90,11 @@ export interface IVpcConnector extends cdk.IResource, ec2.IConnectable {
8990
*
9091
* @resource AWS::AppRunner::VpcConnector
9192
*/
93+
@propertyInjectable
9294
export class VpcConnector extends cdk.Resource implements IVpcConnector {
95+
/** Uniquely identifies this class. */
96+
public static readonly PROPERTY_INJECTION_ID: string = '@aws-cdk.aws-apprunner-alpha.VpcConnector';
97+
9398
/**
9499
* Import from VPC connector attributes.
95100
*/

packages/@aws-cdk/aws-apprunner-alpha/lib/vpc-ingress-connection.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { Construct } from 'constructs';
44
import { IService } from './service';
55
import { CfnVpcIngressConnection } from 'aws-cdk-lib/aws-apprunner';
66
import { addConstructMetadata } from 'aws-cdk-lib/core/lib/metadata-resource';
7+
import { propertyInjectable } from 'aws-cdk-lib/core/lib/prop-injectable';
78

89
/**
910
* Properties of the AppRunner VPC Ingress Connection
@@ -79,7 +80,11 @@ export interface IVpcIngressConnection extends cdk.IResource {
7980
*
8081
* @resource AWS::AppRunner::VpcIngressConnection
8182
*/
83+
@propertyInjectable
8284
export class VpcIngressConnection extends cdk.Resource implements IVpcIngressConnection {
85+
/** Uniquely identifies this class. */
86+
public static readonly PROPERTY_INJECTION_ID: string = '@aws-cdk.aws-apprunner-alpha.VpcIngressConnection';
87+
8388
/**
8489
* Import from VPC Ingress Connection from attributes.
8590
*/

packages/@aws-cdk/aws-cloud9-alpha/lib/environment.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import * as cdk from 'aws-cdk-lib/core';
55
import { Construct } from 'constructs';
66
import { CfnEnvironmentEC2 } from 'aws-cdk-lib/aws-cloud9';
77
import { addConstructMetadata } from 'aws-cdk-lib/core/lib/metadata-resource';
8+
import { propertyInjectable } from 'aws-cdk-lib/core/lib/prop-injectable';
89

910
/**
1011
* A Cloud9 Environment
@@ -151,7 +152,11 @@ export interface Ec2EnvironmentProps {
151152
* A Cloud9 Environment with Amazon EC2
152153
* @resource AWS::Cloud9::EnvironmentEC2
153154
*/
155+
@propertyInjectable
154156
export class Ec2Environment extends cdk.Resource implements IEc2Environment {
157+
/** Uniquely identifies this class. */
158+
public static readonly PROPERTY_INJECTION_ID: string = '@aws-cdk.aws-cloud9-alpha.Ec2Environment';
159+
155160
/**
156161
* import from EnvironmentEc2Name
157162
*/

packages/@aws-cdk/aws-codestar-alpha/lib/github-repository.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import * as cdk from 'aws-cdk-lib/core';
33
import { Construct } from 'constructs';
44
import * as codestar from 'aws-cdk-lib/aws-codestar';
55
import { addConstructMetadata } from 'aws-cdk-lib/core/lib/metadata-resource';
6+
import { propertyInjectable } from 'aws-cdk-lib/core/lib/prop-injectable';
67

78
/**
89
* GitHubRepository resource interface
@@ -84,7 +85,10 @@ export interface GitHubRepositoryProps {
8485
/**
8586
* The GitHubRepository resource
8687
*/
88+
@propertyInjectable
8789
export class GitHubRepository extends cdk.Resource implements IGitHubRepository {
90+
/** Uniquely identifies this class. */
91+
public static readonly PROPERTY_INJECTION_ID: string = '@aws-cdk.aws-codestar-alpha.GitHubRepository';
8892
public readonly owner: string;
8993
public readonly repo: string;
9094

0 commit comments

Comments
 (0)