ServiceNetworkServiceAssociation constructor

ServiceNetworkServiceAssociation(
  1. String name, {
  2. ServiceNetworkServiceAssociationArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new ServiceNetworkServiceAssociation. name The Pulumi resource name. args Arguments used to configure this ServiceNetworkServiceAssociation. The set of arguments for ServiceNetworkServiceAssociation. options Resource options controlling this resource's behavior.

Implementation

ServiceNetworkServiceAssociation(
  String name, {
  ServiceNetworkServiceAssociationArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:vpclattice/serviceNetworkServiceAssociation:ServiceNetworkServiceAssociation',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  arn = registerOutput<String>('arn');
  createdBy = registerOutput<String>('createdBy');
  customDomainName = registerOutput<String>('customDomainName');
  dnsEntries = registerOutput<List<ServiceNetworkServiceAssociationDnsEntry>>('dnsEntries', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<ServiceNetworkServiceAssociationDnsEntry>(guardedValue, (value) => ServiceNetworkServiceAssociationDnsEntry.fromMap((value as Map).cast<String, dynamic>())); });
  region = registerOutput<String>('region');
  serviceIdentifier = registerOutput<String>('serviceIdentifier');
  serviceNetworkIdentifier = registerOutput<String>('serviceNetworkIdentifier');
  status = registerOutput<String>('status');
  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>(); });
}