ServerlessSecurityConfig constructor

ServerlessSecurityConfig(
  1. String name, {
  2. ServerlessSecurityConfigArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

ServerlessSecurityConfig(
  String name, {
  ServerlessSecurityConfigArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:opensearch/serverlessSecurityConfig:ServerlessSecurityConfig',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  configVersion = registerOutput<String>('configVersion');
  description = registerOutput<String?>('description');
  iamFederationOptions = registerOutput<ServerlessSecurityConfigIamFederationOptions?>('iamFederationOptions', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ServerlessSecurityConfigIamFederationOptions.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  iamIdentityCenterOptions = registerOutput<ServerlessSecurityConfigIamIdentityCenterOptions?>('iamIdentityCenterOptions', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ServerlessSecurityConfigIamIdentityCenterOptions.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  this.name = registerOutput<String>('name');
  region = registerOutput<String>('region');
  samlOptions = registerOutput<ServerlessSecurityConfigSamlOptions?>('samlOptions', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return ServerlessSecurityConfigSamlOptions.fromMap((guardedValue as Map).cast<String, dynamic>()); });
  type = registerOutput<String>('type');
}