ResourceType constructor
ResourceType(
- String name, {
- ResourceArgs? args,
- CustomResourceOptions? options,
Creates a new ResourceType.
name The Pulumi resource name.
args Arguments used to configure this ResourceType. The set of arguments for Resource.
options Resource options controlling this resource's behavior.
Implementation
ResourceType(
String name, {
ResourceArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:cloudcontrol/resource:Resource',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
additionalSecretOutputs: const ['schema'],
) {
desiredState = registerOutput<String>('desiredState');
properties = registerOutput<String>('properties');
region = registerOutput<String>('region');
roleArn = registerOutput<String?>('roleArn');
schema = registerOutput<String>('schema', isSecret: true);
typeName = registerOutput<String>('typeName');
typeVersionId = registerOutput<String?>('typeVersionId');
}