Class FileStagingLocation
(experimental) Information returned by the Staging Stack for each file asset.
Inheritance
Implements
Namespace: Amazon.CDK.AppStagingSynthesizer.Alpha
Assembly: Amazon.CDK.AppStagingSynthesizer.Alpha.dll
Syntax (csharp)
public class FileStagingLocation : Object, IFileStagingLocation
Syntax (vb)
Public Class FileStagingLocation
Inherits Object
Implements IFileStagingLocation
Remarks
Stability: Experimental
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AppStagingSynthesizer.Alpha;
using Amazon.CDK;
Stack stack;
var fileStagingLocation = new FileStagingLocation {
BucketName = "bucketName",
// the properties below are optional
AssumeRoleArn = "assumeRoleArn",
DependencyStack = stack,
Prefix = "prefix"
};
Synopsis
Constructors
FileStagingLocation() |
Properties
AssumeRoleArn | (experimental) The ARN to assume to write files to this bucket. |
BucketName | (experimental) The name of the staging bucket. |
DependencyStack | (experimental) The stack that creates this bucket (leads to dependencies on it). |
Prefix | (experimental) A prefix to add to the keys. |
Constructors
FileStagingLocation()
public FileStagingLocation()
Properties
AssumeRoleArn
(experimental) The ARN to assume to write files to this bucket.
public string AssumeRoleArn { get; set; }
Property Value
System.String
Remarks
Default: - Don't assume a role
Stability: Experimental
BucketName
(experimental) The name of the staging bucket.
public string BucketName { get; set; }
Property Value
System.String
Remarks
Stability: Experimental
DependencyStack
(experimental) The stack that creates this bucket (leads to dependencies on it).
public Stack DependencyStack { get; set; }
Property Value
Remarks
Default: - Don't add dependencies
Stability: Experimental
Prefix
(experimental) A prefix to add to the keys.
public string Prefix { get; set; }
Property Value
System.String
Remarks
Default: ''
Stability: Experimental