HubContentReference constructor
HubContentReference(
- String name, {
- HubContentReferenceArgs? args,
- CustomResourceOptions? options,
Creates a new HubContentReference.
name The Pulumi resource name.
args Arguments used to configure this HubContentReference. The set of arguments for HubContentReference.
options Resource options controlling this resource's behavior.
Implementation
HubContentReference(
String name, {
HubContentReferenceArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'aws:sagemaker/hubContentReference:HubContentReference',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
) {
hubArn = registerOutput<String>('hubArn');
hubContentArn = registerOutput<String>('hubContentArn');
hubContentName = registerOutput<String>('hubContentName');
hubContentStatus = registerOutput<String>('hubContentStatus');
hubContentVersion = registerOutput<String>('hubContentVersion');
hubName = registerOutput<String>('hubName');
minVersion = registerOutput<String?>('minVersion');
region = registerOutput<String>('region');
sagemakerPublicHubContentArn = registerOutput<String>('sagemakerPublicHubContentArn');
tags = registerOutput<Map<String, String>?>('tags', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
tagsAll = registerOutput<Map<String, String>>('tagsAll', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
timeouts = registerOutput<HubContentReferenceTimeouts?>('timeouts', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return HubContentReferenceTimeouts.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}