AwsLogSource constructor

AwsLogSource(
  1. String name, {
  2. AwsLogSourceArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

AwsLogSource(
  String name, {
  AwsLogSourceArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:securitylake/awsLogSource:AwsLogSource',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  region = registerOutput<String>('region');
  source = registerOutput<AwsLogSourceSource>('source', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return AwsLogSourceSource.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}