azure-native-v2.awsconnector.SecretsManagerResourcePolicy
Explore with Pulumi AI
A Microsoft.AwsConnector resource Azure REST API version: 2024-12-01.
Create SecretsManagerResourcePolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SecretsManagerResourcePolicy(name: string, args: SecretsManagerResourcePolicyArgs, opts?: CustomResourceOptions);
@overload
def SecretsManagerResourcePolicy(resource_name: str,
args: SecretsManagerResourcePolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SecretsManagerResourcePolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
location: Optional[str] = None,
name: Optional[str] = None,
properties: Optional[SecretsManagerResourcePolicyPropertiesArgs] = None,
tags: Optional[Mapping[str, str]] = None)
func NewSecretsManagerResourcePolicy(ctx *Context, name string, args SecretsManagerResourcePolicyArgs, opts ...ResourceOption) (*SecretsManagerResourcePolicy, error)
public SecretsManagerResourcePolicy(string name, SecretsManagerResourcePolicyArgs args, CustomResourceOptions? opts = null)
public SecretsManagerResourcePolicy(String name, SecretsManagerResourcePolicyArgs args)
public SecretsManagerResourcePolicy(String name, SecretsManagerResourcePolicyArgs args, CustomResourceOptions options)
type: azure-native:awsconnector:SecretsManagerResourcePolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. SecretsManagerResourcePolicyArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. SecretsManagerResourcePolicyArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. SecretsManagerResourcePolicyArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. SecretsManagerResourcePolicyArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. SecretsManagerResourcePolicyArgs - The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var secretsManagerResourcePolicyResource = new AzureNative.Awsconnector.SecretsManagerResourcePolicy("secretsManagerResourcePolicyResource", new()
{
ResourceGroupName = "string",
Location = "string",
Name = "string",
Properties =
{
{ "arn", "string" },
{ "awsAccountId", "string" },
{ "awsProperties",
{
{ "blockPublicPolicy", false },
{ "id", "string" },
{ "resourcePolicy", "any" },
{ "secretId", "string" },
} },
{ "awsRegion", "string" },
{ "awsSourceSchema", "string" },
{ "awsTags",
{
{ "string", "string" },
} },
{ "publicCloudConnectorsResourceId", "string" },
{ "publicCloudResourceName", "string" },
},
Tags =
{
{ "string", "string" },
},
});
example, err := awsconnector.NewSecretsManagerResourcePolicy(ctx, "secretsManagerResourcePolicyResource", &awsconnector.SecretsManagerResourcePolicyArgs{
ResourceGroupName: "string",
Location: "string",
Name: "string",
Properties: map[string]interface{}{
"arn": "string",
"awsAccountId": "string",
"awsProperties": map[string]interface{}{
"blockPublicPolicy": false,
"id": "string",
"resourcePolicy": "any",
"secretId": "string",
},
"awsRegion": "string",
"awsSourceSchema": "string",
"awsTags": map[string]interface{}{
"string": "string",
},
"publicCloudConnectorsResourceId": "string",
"publicCloudResourceName": "string",
},
Tags: map[string]interface{}{
"string": "string",
},
})
var secretsManagerResourcePolicyResource = new SecretsManagerResourcePolicy("secretsManagerResourcePolicyResource", SecretsManagerResourcePolicyArgs.builder()
.resourceGroupName("string")
.location("string")
.name("string")
.properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
secrets_manager_resource_policy_resource = azure_native.awsconnector.SecretsManagerResourcePolicy("secretsManagerResourcePolicyResource",
resource_group_name=string,
location=string,
name=string,
properties={
arn: string,
awsAccountId: string,
awsProperties: {
blockPublicPolicy: False,
id: string,
resourcePolicy: any,
secretId: string,
},
awsRegion: string,
awsSourceSchema: string,
awsTags: {
string: string,
},
publicCloudConnectorsResourceId: string,
publicCloudResourceName: string,
},
tags={
string: string,
})
const secretsManagerResourcePolicyResource = new azure_native.awsconnector.SecretsManagerResourcePolicy("secretsManagerResourcePolicyResource", {
resourceGroupName: "string",
location: "string",
name: "string",
properties: {
arn: "string",
awsAccountId: "string",
awsProperties: {
blockPublicPolicy: false,
id: "string",
resourcePolicy: "any",
secretId: "string",
},
awsRegion: "string",
awsSourceSchema: "string",
awsTags: {
string: "string",
},
publicCloudConnectorsResourceId: "string",
publicCloudResourceName: "string",
},
tags: {
string: "string",
},
});
type: azure-native:awsconnector:SecretsManagerResourcePolicy
properties:
location: string
name: string
properties:
arn: string
awsAccountId: string
awsProperties:
blockPublicPolicy: false
id: string
resourcePolicy: any
secretId: string
awsRegion: string
awsSourceSchema: string
awsTags:
string: string
publicCloudConnectorsResourceId: string
publicCloudResourceName: string
resourceGroupName: string
tags:
string: string
SecretsManagerResourcePolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SecretsManagerResourcePolicy resource accepts the following input properties:
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Name
Changes to this property will trigger replacement.
- Name of SecretsManagerResourcePolicy
- Properties
Pulumi.
Azure Native. Aws Connector. Inputs. Secrets Manager Resource Policy Properties - The resource-specific properties for this resource.
- Dictionary<string, string>
- Resource tags.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Name
Changes to this property will trigger replacement.
- Name of SecretsManagerResourcePolicy
- Properties
Secrets
Manager Resource Policy Properties Args - The resource-specific properties for this resource.
- map[string]string
- Resource tags.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- name
Changes to this property will trigger replacement.
- Name of SecretsManagerResourcePolicy
- properties
Secrets
Manager Resource Policy Properties - The resource-specific properties for this resource.
- Map<String,String>
- Resource tags.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- name
Changes to this property will trigger replacement.
- Name of SecretsManagerResourcePolicy
- properties
Secrets
Manager Resource Policy Properties - The resource-specific properties for this resource.
- {[key: string]: string}
- Resource tags.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- name
Changes to this property will trigger replacement.
- Name of SecretsManagerResourcePolicy
- properties
Secrets
Manager Resource Policy Properties Args - The resource-specific properties for this resource.
- Mapping[str, str]
- Resource tags.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- name
Changes to this property will trigger replacement.
- Name of SecretsManagerResourcePolicy
- properties Property Map
- The resource-specific properties for this resource.
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the SecretsManagerResourcePolicy resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- System
Data Pulumi.Azure Native. Aws Connector. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Id string
- The provider-assigned unique ID for this managed resource.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id string
- The provider-assigned unique ID for this managed resource.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id str
- The provider-assigned unique ID for this managed resource.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
AwsSecretsManagerResourcePolicyProperties, AwsSecretsManagerResourcePolicyPropertiesArgs
- Block
Public boolPolicy - Property blockPublicPolicy
- Id string
- Property id
- Resource
Policy object - Property resourcePolicy
- Secret
Id string - Property secretId
- Block
Public boolPolicy - Property blockPublicPolicy
- Id string
- Property id
- Resource
Policy interface{} - Property resourcePolicy
- Secret
Id string - Property secretId
- block
Public BooleanPolicy - Property blockPublicPolicy
- id String
- Property id
- resource
Policy Object - Property resourcePolicy
- secret
Id String - Property secretId
- block
Public booleanPolicy - Property blockPublicPolicy
- id string
- Property id
- resource
Policy any - Property resourcePolicy
- secret
Id string - Property secretId
- block_
public_ boolpolicy - Property blockPublicPolicy
- id str
- Property id
- resource_
policy Any - Property resourcePolicy
- secret_
id str - Property secretId
- block
Public BooleanPolicy - Property blockPublicPolicy
- id String
- Property id
- resource
Policy Any - Property resourcePolicy
- secret
Id String - Property secretId
AwsSecretsManagerResourcePolicyPropertiesResponse, AwsSecretsManagerResourcePolicyPropertiesResponseArgs
- Block
Public boolPolicy - Property blockPublicPolicy
- Id string
- Property id
- Resource
Policy object - Property resourcePolicy
- Secret
Id string - Property secretId
- Block
Public boolPolicy - Property blockPublicPolicy
- Id string
- Property id
- Resource
Policy interface{} - Property resourcePolicy
- Secret
Id string - Property secretId
- block
Public BooleanPolicy - Property blockPublicPolicy
- id String
- Property id
- resource
Policy Object - Property resourcePolicy
- secret
Id String - Property secretId
- block
Public booleanPolicy - Property blockPublicPolicy
- id string
- Property id
- resource
Policy any - Property resourcePolicy
- secret
Id string - Property secretId
- block_
public_ boolpolicy - Property blockPublicPolicy
- id str
- Property id
- resource_
policy Any - Property resourcePolicy
- secret_
id str - Property secretId
- block
Public BooleanPolicy - Property blockPublicPolicy
- id String
- Property id
- resource
Policy Any - Property resourcePolicy
- secret
Id String - Property secretId
SecretsManagerResourcePolicyProperties, SecretsManagerResourcePolicyPropertiesArgs
- Arn string
- Amazon Resource Name (ARN)
- Aws
Account stringId - AWS Account ID
- Aws
Properties Pulumi.Azure Native. Aws Connector. Inputs. Aws Secrets Manager Resource Policy Properties - AWS Properties
- Aws
Region string - AWS Region
- Aws
Source stringSchema - AWS Source Schema
- Dictionary<string, string>
- AWS Tags
- Public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- Public
Cloud stringResource Name - Public Cloud Resource Name
- Arn string
- Amazon Resource Name (ARN)
- Aws
Account stringId - AWS Account ID
- Aws
Properties AwsSecrets Manager Resource Policy Properties - AWS Properties
- Aws
Region string - AWS Region
- Aws
Source stringSchema - AWS Source Schema
- map[string]string
- AWS Tags
- Public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- Public
Cloud stringResource Name - Public Cloud Resource Name
- arn String
- Amazon Resource Name (ARN)
- aws
Account StringId - AWS Account ID
- aws
Properties AwsSecrets Manager Resource Policy Properties - AWS Properties
- aws
Region String - AWS Region
- aws
Source StringSchema - AWS Source Schema
- Map<String,String>
- AWS Tags
- public
Cloud StringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud StringResource Name - Public Cloud Resource Name
- arn string
- Amazon Resource Name (ARN)
- aws
Account stringId - AWS Account ID
- aws
Properties AwsSecrets Manager Resource Policy Properties - AWS Properties
- aws
Region string - AWS Region
- aws
Source stringSchema - AWS Source Schema
- {[key: string]: string}
- AWS Tags
- public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud stringResource Name - Public Cloud Resource Name
- arn str
- Amazon Resource Name (ARN)
- aws_
account_ strid - AWS Account ID
- aws_
properties AwsSecrets Manager Resource Policy Properties - AWS Properties
- aws_
region str - AWS Region
- aws_
source_ strschema - AWS Source Schema
- Mapping[str, str]
- AWS Tags
- public_
cloud_ strconnectors_ resource_ id - Public Cloud Connectors Resource ID
- public_
cloud_ strresource_ name - Public Cloud Resource Name
- arn String
- Amazon Resource Name (ARN)
- aws
Account StringId - AWS Account ID
- aws
Properties Property Map - AWS Properties
- aws
Region String - AWS Region
- aws
Source StringSchema - AWS Source Schema
- Map<String>
- AWS Tags
- public
Cloud StringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud StringResource Name - Public Cloud Resource Name
SecretsManagerResourcePolicyPropertiesResponse, SecretsManagerResourcePolicyPropertiesResponseArgs
- Provisioning
State This property is required. string - The status of the last operation.
- Arn string
- Amazon Resource Name (ARN)
- Aws
Account stringId - AWS Account ID
- Aws
Properties Pulumi.Azure Native. Aws Connector. Inputs. Aws Secrets Manager Resource Policy Properties Response - AWS Properties
- Aws
Region string - AWS Region
- Aws
Source stringSchema - AWS Source Schema
- Dictionary<string, string>
- AWS Tags
- Public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- Public
Cloud stringResource Name - Public Cloud Resource Name
- Provisioning
State This property is required. string - The status of the last operation.
- Arn string
- Amazon Resource Name (ARN)
- Aws
Account stringId - AWS Account ID
- Aws
Properties AwsSecrets Manager Resource Policy Properties Response - AWS Properties
- Aws
Region string - AWS Region
- Aws
Source stringSchema - AWS Source Schema
- map[string]string
- AWS Tags
- Public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- Public
Cloud stringResource Name - Public Cloud Resource Name
- provisioning
State This property is required. String - The status of the last operation.
- arn String
- Amazon Resource Name (ARN)
- aws
Account StringId - AWS Account ID
- aws
Properties AwsSecrets Manager Resource Policy Properties Response - AWS Properties
- aws
Region String - AWS Region
- aws
Source StringSchema - AWS Source Schema
- Map<String,String>
- AWS Tags
- public
Cloud StringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud StringResource Name - Public Cloud Resource Name
- provisioning
State This property is required. string - The status of the last operation.
- arn string
- Amazon Resource Name (ARN)
- aws
Account stringId - AWS Account ID
- aws
Properties AwsSecrets Manager Resource Policy Properties Response - AWS Properties
- aws
Region string - AWS Region
- aws
Source stringSchema - AWS Source Schema
- {[key: string]: string}
- AWS Tags
- public
Cloud stringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud stringResource Name - Public Cloud Resource Name
- provisioning_
state This property is required. str - The status of the last operation.
- arn str
- Amazon Resource Name (ARN)
- aws_
account_ strid - AWS Account ID
- aws_
properties AwsSecrets Manager Resource Policy Properties Response - AWS Properties
- aws_
region str - AWS Region
- aws_
source_ strschema - AWS Source Schema
- Mapping[str, str]
- AWS Tags
- public_
cloud_ strconnectors_ resource_ id - Public Cloud Connectors Resource ID
- public_
cloud_ strresource_ name - Public Cloud Resource Name
- provisioning
State This property is required. String - The status of the last operation.
- arn String
- Amazon Resource Name (ARN)
- aws
Account StringId - AWS Account ID
- aws
Properties Property Map - AWS Properties
- aws
Region String - AWS Region
- aws
Source StringSchema - AWS Source Schema
- Map<String>
- AWS Tags
- public
Cloud StringConnectors Resource Id - Public Cloud Connectors Resource ID
- public
Cloud StringResource Name - Public Cloud Resource Name
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:awsconnector:SecretsManagerResourcePolicy faic /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AwsConnector/secretsManagerResourcePolicies/{name}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0