TemplateSource constructor
TemplateSource(
- String name, {
- TemplateSourceArgs? args,
- CustomResourceOptions? options,
Creates a new TemplateSource.
name The Pulumi resource name.
args Arguments used to configure this TemplateSource. The set of arguments for TemplateSource.
options Resource options controlling this resource's behavior.
Implementation
TemplateSource(
String name, {
TemplateSourceArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'pulumiservice:index:TemplateSource',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
options ?? pulumi.CustomResourceOptions(),
) {
destination = registerOutput<TemplateSourceDestination?>('destination', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return TemplateSourceDestination.fromMap((guardedValue as Map).cast<String, dynamic>()); });
organizationName = registerOutput<String>('organizationName');
sourceName = registerOutput<String>('sourceName');
sourceURL = registerOutput<String>('sourceURL');
}