Class DeploymentIdentities
(experimental) Deployment identities are the class of roles to be assumed by the CDK when deploying the App.
Inheritance
Namespace: Amazon.CDK.AppStagingSynthesizer.Alpha
Assembly: Amazon.CDK.AppStagingSynthesizer.Alpha.dll
Syntax (csharp)
public class DeploymentIdentities : DeputyBase
Syntax (vb)
Public Class DeploymentIdentities
Inherits DeputyBase
Remarks
Stability: Experimental
ExampleMetadata: infused
Examples
using Amazon.CDK.AWS.S3;
var app = new App(new AppProps {
DefaultStackSynthesizer = AppStagingSynthesizer.DefaultResources(new DefaultResourcesOptions {
AppId = "my-app-id",
StagingBucketEncryption = BucketEncryption.S3_MANAGED,
// The following line is optional. By default it is assumed you have bootstrapped in the same
// region(s) as the stack(s) you are deploying.
DeploymentIdentities = DeploymentIdentities.DefaultBootstrapRoles(new DefaultBootstrapRolesOptions { BootstrapRegion = "us-east-1" })
})
});
Synopsis
Constructors
Deployment |
Used by jsii to construct an instance of this class from a Javascript-owned object reference |
Deployment |
Used by jsii to construct an instance of this class from DeputyProps |
Properties
Cloud |
(experimental) CloudFormation Execution Role. |
Deployment |
(experimental) Deployment Action Role. |
Lookup |
(experimental) Lookup Role. |
Methods
Cli |
(experimental) Use CLI credentials for all deployment identities. |
Default |
(experimental) Use the Roles that have been created by the default bootstrap stack. |
Specify |
(experimental) Specify your own roles for all deployment identities. |
Constructors
DeploymentIdentities(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected DeploymentIdentities(ByRefValue reference)
Parameters
- reference Amazon.
JSII. Runtime. Deputy. By Ref Value The Javascript-owned object reference
DeploymentIdentities(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected DeploymentIdentities(DeputyBase.DeputyProps props)
Parameters
- props Amazon.
JSII. Runtime. Deputy. Deputy Base. Deputy Props The deputy props
Properties
CloudFormationExecutionRole
(experimental) CloudFormation Execution Role.
public virtual BootstrapRole CloudFormationExecutionRole { get; }
Property Value
Remarks
Stability: Experimental
DeploymentRole
(experimental) Deployment Action Role.
public virtual BootstrapRole DeploymentRole { get; }
Property Value
Remarks
Stability: Experimental
LookupRole
(experimental) Lookup Role.
public virtual BootstrapRole LookupRole { get; }
Property Value
Remarks
Default: - use bootstrapped role
Stability: Experimental
Methods
CliCredentials()
(experimental) Use CLI credentials for all deployment identities.
public static DeploymentIdentities CliCredentials()
Returns
Remarks
Stability: Experimental
DefaultBootstrapRoles(IDefaultBootstrapRolesOptions)
(experimental) Use the Roles that have been created by the default bootstrap stack.
public static DeploymentIdentities DefaultBootstrapRoles(IDefaultBootstrapRolesOptions options = null)
Parameters
- options IDefault
Bootstrap Roles Options
Returns
Remarks
Stability: Experimental
SpecifyRoles(IBootstrapRoles)
(experimental) Specify your own roles for all deployment identities.
public static DeploymentIdentities SpecifyRoles(IBootstrapRoles roles)
Parameters
- roles IBootstrap
Roles
Returns
Remarks
These roles must already exist.
Stability: Experimental