Class CfnVirtualCluster
The AWS::EMRContainers::VirtualCluster
resource specifies a virtual cluster.
Inherited Members
Namespace: Amazon.CDK.AWS.EMRContainers
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnVirtualCluster : CfnResource, IInspectable, ITaggable
Syntax (vb)
Public Class CfnVirtualCluster
Inherits CfnResource
Implements IInspectable, ITaggable
Remarks
A virtual cluster is a managed entity on Amazon EMR on EKS. You can create, describe, list, and delete virtual clusters. They do not consume any additional resources in your system. A single virtual cluster maps to a single Kubernetes namespace. Given this relationship, you can model virtual clusters the same way you model Kubernetes namespaces to meet your requirements.
CloudformationResource: AWS::EMRContainers::VirtualCluster
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.AWS.EMRContainers;
var cfnVirtualCluster = new CfnVirtualCluster(this, "MyCfnVirtualCluster", new CfnVirtualClusterProps {
ContainerProvider = new ContainerProviderProperty {
Id = "id",
Info = new ContainerInfoProperty {
EksInfo = new EksInfoProperty {
Namespace = "namespace"
}
},
Type = "type"
},
Name = "name",
// the properties below are optional
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
});
Synopsis
Constructors
CfnVirtualCluster(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnVirtualCluster(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnVirtualCluster(Construct, String, ICfnVirtualClusterProps) |
Properties
AttrArn | The Amazon Resource Name (ARN) of the project, such as |
AttrId | The ID of the virtual cluster, such as |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
ContainerProvider | The container provider of the virtual cluster. |
Name | The name of the virtual cluster. |
Tags | Tag Manager which manages the tags for this resource. |
TagsRaw | An array of key-value pairs to apply to this resource. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnVirtualCluster(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnVirtualCluster(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnVirtualCluster(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnVirtualCluster(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnVirtualCluster(Construct, String, ICfnVirtualClusterProps)
public CfnVirtualCluster(Construct scope, string id, ICfnVirtualClusterProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnVirtualClusterProps
Resource properties.
Properties
AttrArn
The Amazon Resource Name (ARN) of the project, such as arn:aws:emr-containers:us-east-1:123456789012:/virtualclusters/ab4rp1abcs8xz47n3x0example
.
public virtual string AttrArn { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Arn
AttrId
The ID of the virtual cluster, such as ab4rp1abcs8xz47n3x0example
.
public virtual string AttrId { get; }
Property Value
System.String
Remarks
CloudformationAttribute: Id
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
ContainerProvider
The container provider of the virtual cluster.
public virtual object ContainerProvider { get; set; }
Property Value
System.Object
Name
The name of the virtual cluster.
public virtual string Name { get; set; }
Property Value
System.String
Tags
Tag Manager which manages the tags for this resource.
public virtual TagManager Tags { get; }
Property Value
TagsRaw
An array of key-value pairs to apply to this resource.
public virtual ICfnTag[] TagsRaw { get; set; }
Property Value
ICfnTag[]
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>