Class CustomResource
(deprecated) Deprecated.
Inherited Members
Namespace: Amazon.CDK.AWS.CloudFormation
Assembly: Amazon.CDK.AWS.CloudFormation.dll
Syntax (csharp)
public class CustomResource : CustomResource, IResource, IConstruct, IDependable
Syntax (vb)
Public Class CustomResource
Inherits CustomResource
Implements IResource, IConstruct, IDependable
Remarks
Stability: Deprecated
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.CloudFormation;
using Amazon.CDK;
CustomResourceProvider customResourceProvider;
var properties;
var customResource = new CustomResource(this, "MyCustomResource", new CustomResourceProps {
Provider = customResourceProvider,
// the properties below are optional
Properties = new Dictionary<string, object> {
{ "propertiesKey", properties }
},
RemovalPolicy = RemovalPolicy.DESTROY,
ResourceType = "resourceType"
});
Synopsis
Constructors
CustomResource(Construct, String, ICustomResourceProps) | |
CustomResource(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CustomResource(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
Constructors
CustomResource(Construct, String, ICustomResourceProps)
public CustomResource(Construct scope, string id, ICustomResourceProps props)
Parameters
- scope Construct
- id System.String
- props ICustomResourceProps
Remarks
Stability: Deprecated
CustomResource(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CustomResource(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CustomResource(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CustomResource(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
Implements
Constructs.IConstruct